ImageSize Property

Gets the image size.

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

Property Value

Type: Size
The image size.

Implements

IObjectWithBoundsSize
Examples
Processes a drawing if it is not empty
var fileName = @"C:\path\drawing.dwg";
using (Aspose.CAD.Image drawing = Aspose.CAD.Image.Load(fileName))
{
    if (!drawing.Size.IsEmpty)
    {
        // ...
    }
}
See Also