DracoImage.Height

DracoImage.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 DRACO drawing.

using (DracoImage drcImage = (DracoImage)Image.Load(fileName))
{
    System.Console.WriteLine("The height of the image is {0}", drcImage.Height);
}

See Also