Set paper margins,measured in hundredths of an inch.

Namespace: Spire.Pdf.Print
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public void SetPaperMargins(
	int top,
	int bottom,
	int left,
	int right
)
Public Sub SetPaperMargins ( 
	top As Integer,
	bottom As Integer,
	left As Integer,
	right As Integer
)
public:
void SetPaperMargins(
	int top, 
	int bottom, 
	int left, 
	int right
)
member SetPaperMargins : 
        top : int * 
        bottom : int * 
        left : int * 
        right : int -> unit 

Parameters

top
Int32
Paper margin top(unit:hundredths of an inch).
bottom
Int32
Paper margin bottom(unit:hundredths of an inch).
left
Int32
Paper margin left(unit:hundredths of an inch).
right
Int32
Paper margin right(unit:hundredths of an inch).

See Also