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
widthdoubleThe width of the page in inches.
heightdoubleThe height of the page in inches.
isLandscapeboolThe value indicating whether the page orientation should be landscape.
Remarks
Both width and height must be greater than zero.