PdfImageElementKeepAspectRatio Property

If true, the default, the image keeps its aspect ratio when it is scaled to the specified dimensions. If false and both Width and Height are set, the image is stretched to exactly those dimensions

Definition

Namespace: Winnovative.Pdf.Next
Assembly: Winnovative.Pdf.Next (in Winnovative.Pdf.Next.dll) Version: 21.0.3
C#
public bool KeepAspectRatio { get; set; }

Property Value

Boolean

See Also