Method SetSize
- Namespace
- BitMiracle.Docotic.Pdf.HtmlToPdf
- Assembly
- BitMiracle.Docotic.Pdf.HtmlToPdf.dll
SetSize(PdfPaperSize, bool)
Sets the size-related properties of the page using the provided PdfPaperSize value.
public void SetSize(PdfPaperSize size, bool isLandscape = false)
Parameters
size
PdfPaperSizeThe size value to use.
isLandscape
boolThe value indicating whether the page orientation should be landscape.
Remarks
The size must not be Custom.