PageSetup.TopMargin Property

Returns or sets the distance (in points) between the top edge of the page and the top boundary of the body text.

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

Syntax

'Declaration
Property TopMargin As Single
    Get
    Set
'Usage
Dim instance As PageSetup
Dim value As Single

value = instance.TopMargin

instance.TopMargin = value
float TopMargin { get; set; }

Property Value

Type: System.Single

See Also

Reference

PageSetup Interface

PageSetup Members

Microsoft.Office.Interop.Word Namespace