PdfPrintSettings
SetPaperMargins Method
|
Set paper margins,measured in hundredths of an inch.
Namespace:
Spire.Pdf.Print
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
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
-
Type:
System
Int32
Paper margin top(unit:hundredths of an inch).
-
bottom
-
Type:
System
Int32
Paper margin bottom(unit:hundredths of an inch).
-
left
-
Type:
System
Int32
Paper margin left(unit:hundredths of an inch).
-
right
-
Type:
System
Int32
Paper margin right(unit:hundredths of an inch).
See Also