Table of Contents

Property Width

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

Width

Gets or sets the width of the XObject in pixels.

public double Width { get; set; }

Property Value

double

The width of the XObject in pixels.

Remarks

Default value: 595 (the width of the A4 sheet).

NOTE: Changing the value of this property updates the value of BoundingBox property.

Exceptions

UnexpectedStructureException

The value in the internal PDF structure is of an unexpected type or cannot be converted to a PdfBox value.

ArgumentOutOfRangeException

value is less than 1.