Skip to content

TallComponents.UnoPdf.Client

TallComponents.UnoPdf.Client.Models.Pdf.Shapes.SvgShapeModel

SvgShapeModel.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 svg image.
If set to false, the specified width and height are used and the svg image will in general appear distorted.

csharp
public bool KeepAspectRatio { get; set; }

Property Value

System.Boolean

Remarks

Default as indicated by the root SVG element.