ObjImage.Height
ObjImage.Height property
Gets the height of the image. Calculated as the difference between maximum and minimum values of the Y coordinate amongst all vertices. Minimal allowed height is 1.
public override int Height { get; }
Property Value
The height of the image.
Examples
Prints the height of the OBJ drawing.
using (ObjImage objImage = (ObjImage)Image.Load(fileName))
{
System.Console.WriteLine("The height of the image is {0}", objImage.Height);
}
See Also
- class ObjImage
- namespace Aspose.CAD.FileFormats.Obj
- assembly Aspose.CAD