PageSetup.RightMargin Property

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

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

Syntax

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

value = instance.RightMargin

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

Property Value

Type: System.Single

Remarks

If the MirrorMargins property is set to True, the RightMargin property controls the setting for outside margins and the LeftMargin property controls the setting for inside margins.

See Also

Reference

PageSetup Interface

PageSetup Members

Microsoft.Office.Interop.Word Namespace