Skip to main content

XlPageMargins Members

Represents the object that specifies page margins for a worksheet.

Constructors

Name Description
XlPageMargins() Initializes a new instance of the XlPageMargins class with the default settings.

Properties

Name Description
Bottom Gets or sets the size of the bottom margin of a printed page.
Footer Gets or sets the space between a footer and the bottom edge of a printed page.
Header Gets or sets the space between a header and the top edge of a printed page.
Left Gets or sets the size of the left margin of a printed page.
PageUnits Gets or sets the unit of margin measurement.
Right Gets or sets the size of the right margin of a printed page.
Top Gets or sets the size of the top margin of a printed page.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also