Click or drag to resize

ImageSaveOptionsWidth Property

Gets or sets the image width in pixels.

Namespace: SautinSoft.Pdf
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.8.8
Syntax
public double Width { get; set; }

Property Value

Double
The image width in pixels.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionValue is not greater than 0.
Remarks

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

If only one of the Width or Height is specified, 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