Image.Bounds
Image.Bounds property
Gets the image bounds.
public Rectangle Bounds { get; }
Property Value
The image bounds.
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
- struct Rectangle
- class Image
- namespace Aspose.CAD
- assembly Aspose.CAD