Image.Size

Image.Size property

Gets the image size.

public Size Size { get; }

Property Value

The image size.

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