Compartilhar via


PageSetup.LeftMargin Property

Returns or sets the size of the left margin in points.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property LeftMargin As Double
    Get
    Set
'Usage
Dim instance As PageSetup
Dim value As Double

value = instance.LeftMargin

instance.LeftMargin = value
double LeftMargin { get; set; }

Property Value

Type: System.Double

Remarks

Margins are set or returned in points. Use the InchesToPoints method or the CentimetersToPoints method to convert measurements from inches or centimeters.

See Also

Reference

PageSetup Interface

PageSetup Members

Microsoft.Office.Interop.Excel Namespace