Table of Contents

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 double

The width of the page in inches.

height double

The height of the page in inches.

isLandscape bool

The value indicating whether the page orientation should be landscape.

Remarks

Both width and height must be greater than zero.