Skip to content

TallComponents.UnoPdf.Client

TallComponents.UnoPdf.Client.Models.Pdf.Shapes.ImageShapeModel

ImageShapeModel.KeepAspectRatio Property

If KeepAspectRatio is set to true, the height is calculated from the
width so that the width/height ratio is equal to the columns/rows ratio
of the raster of the original image. If set to false, the specified
width and height are used and the image will in general appear distorted.

csharp
public bool KeepAspectRatio { get; set; }

Property Value

System.Boolean