PDFRasterizer.NET 4.0 is now available. Supports .NET Core. Renders pixel-perfectly.

Property Width

Namespace TallComponents.PDF.Shapes
Class ImageShape

The width of the image.

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 PhysicalWidth)


public Double Width { get; set; }

Property value


Download PDFKit.NET 4.0
We will send you a download link

  • This field is for validation purposes and should be left unchanged.
Why do we ask your email address?
We send tips that speed up your evaluation
We let you know about bug fixes
You can always unsubscribe with one click
We never share your address with a 3rd party
Thank you for your download

We have sent an email with a download link.