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
width
intThe width of the page in points.
height
intThe height of the page in points.
isLandscape
boolThe 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.