PdfFileSetMargins Method
Set the margins of the page in millimeter(mm), inch(in) or point(pt).

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
Dim instance As PdfFile
Dim left As Integer
Dim right As Integer
Dim top As Integer
Dim bottom As Integer
Dim metric As String

instance.SetMargins(left, right, top, bottom, 
	metric)

Parameters

left
Type: SystemInt32

[Missing <param name="left"/> documentation for "M:Selenium.PdfFile.SetMargins(System.Int32,System.Int32,System.Int32,System.Int32,System.String)"]

right
Type: SystemInt32

[Missing <param name="right"/> documentation for "M:Selenium.PdfFile.SetMargins(System.Int32,System.Int32,System.Int32,System.Int32,System.String)"]

top
Type: SystemInt32

[Missing <param name="top"/> documentation for "M:Selenium.PdfFile.SetMargins(System.Int32,System.Int32,System.Int32,System.Int32,System.String)"]

bottom
Type: SystemInt32

[Missing <param name="bottom"/> documentation for "M:Selenium.PdfFile.SetMargins(System.Int32,System.Int32,System.Int32,System.Int32,System.String)"]

metric (Optional)
Type: SystemString
Optional metric: mm, in or pt
See Also