Skip to content

TallComponents.UnoPdf.Client

TallComponents.UnoPdf.Client.Models.Pdf.Shapes.MetafileShapeModel

MetafileShapeModel.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 ratio of the original metafile image.
If set to false, the specified width and height are used and the metafile image will in general appear distorted.

csharp
public bool KeepAspectRatio { get; set; }

Property Value

System.Boolean