Skip to content

TallComponents.UnoPdf.Client

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

ImageShapeModel.Height Property

The height of the image.

csharp
public double Height { get; set; }

Property Value

System.Double

Remarks

If KeepAspectRatio is set:

If both the height and width are not specified: use PhysicalWidth and PhysicalHeight.

Width is specified, no height specified: The height is calculated from the width (and height property is ignored).

Height is specified, no width specified: The width is calculated from the height (and width property is ignored).

If both the height and width are specified: fit into area.

Set to double.NaN to reset to the initial state (not set, use PhysicalHeight)