Share via


HeaderFooter.AlignWithMargins Property

Align Margins.Represents the attribte in schema: alignWithMargins

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "alignWithMargins")> _
Public Property AlignWithMargins As BooleanValue
    Get
    Set
'Usage
Dim instance As HeaderFooter
Dim value As BooleanValue

value = instance.AlignWithMargins

instance.AlignWithMargins = value
[SchemaAttrAttribute(, "alignWithMargins")]
public BooleanValue AlignWithMargins { get; set; }

Property Value

Type: DocumentFormat.OpenXml.BooleanValue
Returns BooleanValue.

See Also

Reference

HeaderFooter Class

HeaderFooter Members

DocumentFormat.OpenXml.Spreadsheet Namespace