Skip to main content

XtraPageSettingsBase.TopMargin Property

Gets or sets the top page margin.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.2.Core.dll

Declaration

public int TopMargin { get; set; }

Property Value

Type Description
Int32

The top page margin, in hundredths of an inch.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to TopMargin
Cross-Platform Class Library PrintingSystemBase
.PageSettings .TopMargin
WPF Controls IDocumentViewModel
.PageSettings .TopMargin

Remarks

Use margins to specify the position of page contents.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TopMargin property.

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.

Implements

See Also