Method SetSizePoints
- Namespace
- BitMiracle.Docotic.Pdf.HtmlToPdf
- Assembly
- BitMiracle.Docotic.Pdf.HtmlToPdf.dll
SetSizePoints(int, int, bool)
Sets the size-related properties of the page using the provided width and height in points.
public void SetSizePoints(int width, int height, bool isLandscape = false)
Parameters
widthintThe width of the page in points.
heightintThe height of the page in points.
isLandscapeboolThe value indicating whether the page orientation should be landscape.
Remarks
One point is 1/72 of inch.
Both width and height must be greater than zero.