PageMargins Properties

Include Protected Members
Include Inherited Members

The PageMargins type exposes the following members.

Properties

  Name Description
Public property Bottom Bottom Page Margin.Represents the attribte in schema: bottom
Public property ChildElements Gets all the child nodes of this element. (Inherited from OpenXmlElement.)
Public property ExtendedAttributes Gets all extended attributes (attributes not defined in schema) of the element. (Inherited from OpenXmlElement.)
Public property FirstChild Gets the first child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Inherited from OpenXmlElement.)
Public property Footer Footer Page Margin.Represents the attribte in schema: footer
Public property HasAttributes Gets a boolean value indicating whether the current element has any attributes. (Inherited from OpenXmlElement.)
Public property HasChildren Gets a value indicating whether this element has any child elements. (Inherited from OpenXmlLeafElement.)
Public property Header Header Page Margin.Represents the attribte in schema: header
Public property InnerText Gets the concatenated values of the node and all its children. (Inherited from OpenXmlElement.)
Public property InnerXml Gets or sets the markup representing only the child nodes of this node. (Inherited from OpenXmlLeafElement.)
Public property LastChild Gets the last child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Inherited from OpenXmlElement.)
Public property Left Left Page Margin.Represents the attribte in schema: left
Public property LocalName Gets the local name of the element. (Overrides OpenXmlElement.LocalName.)
Public property MCAttributes Markup Compatibility Attributes Set. Return null if there is no Markup Compatibility Attribute defined in this element. (Inherited from OpenXmlElement.)
Public property NamespaceDeclarations Gets all the namespace declarations defined in the current element. Return an empty enumerator if there is no namespace declaration. (Inherited from OpenXmlElement.)
Public property NamespaceUri Gets the namespace URI of this node. (Inherited from OpenXmlElement.)
Public property OpenXmlElementContext Gets the OpenXmlEementContext. (Inherited from OpenXmlElement.)
Public property OuterXml Gets the markup representing this element and all its child elements. (Inherited from OpenXmlElement.)
Public property Parent Gets the parent of this element. (Inherited from OpenXmlElement.)
Public property Prefix Gets the namespace prefix of this node. (Inherited from OpenXmlElement.)
Public property Right Right Page Margin.Represents the attribte in schema: right
Public property Top Top Page Margin.Represents the attribte in schema: top
Public property XmlQualifiedName Gets the qualified name of the node. (Inherited from OpenXmlElement.)

Top

See Also

Reference

PageMargins Class

DocumentFormat.OpenXml.Spreadsheet Namespace