Container

Image.Container property

Gets the Image container.

public Image Container { get; }

Property Value

The Image container.

Remarks

If this property is not null it indicates the image is contained whithin another image.

Examples

Gets root (top-level) drawing where current drawing is nested in

Image drawing = ...
while (drawing.Container != null)
{
    drawing = drawing.Container;
}

See Also