Method SetSizeInches
- Namespace
- BitMiracle.Docotic.Pdf.HtmlToPdf
- Assembly
- BitMiracle.Docotic.Pdf.HtmlToPdf.dll
SetSizeInches(double, double, bool)
Sets the size-related properties of the page using the provided width and height in inches.
public void SetSizeInches(double width, double height, bool isLandscape = false)
Parameters
width
doubleThe width of the page in inches.
height
doubleThe height of the page in inches.
isLandscape
boolThe value indicating whether the page orientation should be landscape.
Remarks
Both width and height must be greater than zero.