Skip to main content
A newer version of this page is available. .

XlPageUnits Enum

Lists values used to specify the units of margin measurement.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v18.1.Core.dll

Declaration

public enum XlPageUnits

Members

Name Description
Inches

Specifies inches as a unit of margin measurement.

Centimeters

Specifies centimeters as a unit of margin measurement.

Related API Members

The following properties accept/return XlPageUnits values:

Remarks

The values listed by this enumeration are used by the XlPageMargins.PageUnits property.

For an example of how to adjust margin settings, refer to the How to: Set Page Margins topic.

The following code snippets (auto-collected from DevExpress Examples) contain references to the XlPageUnits enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also