Click or drag to resize
ImageSaveOptionsHeight Property
Gets or sets the image height in pixels.

Namespace: GemBox.Document
Assembly: GemBox.Document (in GemBox.Document.dll) Version:
public double Height { get; set; }

Property Value

Type: Double
The image height in pixels.

If both Width and Height are not specified, then image size will be equal to the page size.

If only one of the Width or Height is specifed, then the specified dimension will be respected and other dimension will be calculated so that original aspect ratio is maintained.

If both Width and Height are specified, then both specified dimensions will be respected (which may result in non-uniformly scaled image, if aspect ratio is not equal to the original one.

See Also