ImageBounds Property

Gets the image bounds.

Namespace:  Aspose.CAD
Assembly:  Aspose.CAD (in Aspose.CAD.dll) Version: 21.3
Syntax
public Rectangle Bounds { get; }

Property Value

Type: Rectangle
The image bounds.

Implements

IObjectWithBoundsBounds
Examples
Custom processing of a drawing depending on its bounds
var fileName = @"C:\path\drawing.dwg";
using (Aspose.CAD.Image drawing = Aspose.CAD.Image.Load(fileName))
{
    if (drawing.Bounds.Width > 500)
    {
        // ...
    }
}
See Also