Property Height
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
Height
Gets or sets the height of the page, expressed in PDF's default user space units.
public double Height { get; set; }
Property Value
- double
The height of the page, expressed in PDF's default user space units.
Remarks
Default value: 842 (the height of the A4 sheet).
NOTE: Changing the value of this property updates value of MediaBox property.
The Change page size section describes different ways to resize pages.
Exceptions
- UnexpectedStructureException
The internal PDF structure does not contain the corresponding required value, or the value has an unexpected type.
- ArgumentOutOfRangeException
value
is less than1
.