共用方式為


HeaderFooter.AlignWithMargins Property

Align With Margins.Represents the attribte in schema: alignWithMargins

Namespace:  DocumentFormat.OpenXml.Drawing.Charts
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.Drawing.Charts Namespace