Link Search Menu Expand Document

DocumentPrinterSetMargins Method

Sets the margins for the printed page.

Namespace:Bytescout.PDFRenderer
Assembly: Bytescout.PDFRenderer (in Bytescout.PDFRenderer.dll) Version: 13.4.0.4759-master
Syntax
public void SetMargins(
	int leftMargin,
	int topMargin,
	int rightMargin,
	int bottomMargin
)

Parameters

leftMargin
Type: SystemInt32
Left margin in hundredths of an inch.
topMargin
Type: SystemInt32
Top margin in hundredths of an inch.
rightMargin
Type: SystemInt32
Right margin in hundredths of an inch.
bottomMargin
Type: SystemInt32
Bottom margin in hundredths of an inch.
See Also

Reference