officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-sectionpage-b50710d2.md
Gets or sets the page’s height.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
float Height { get; set; }
Property Height As Single
| Type | Description |
|---|---|
| Single |
A Single value specifying the page’s height in current measure units.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Height 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.
word-document-api-invoke-print-preview-dialog/VB/Form1.vb#L27
richServer.Document.Sections(0).Page.Landscape = True
richServer.Document.Sections(0).Page.Height = DevExpress.Office.Utils.Units.InchesToDocumentsF(10.0F)
richServer.Document.Sections(0).Page.Width = DevExpress.Office.Utils.Units.InchesToDocumentsF(4.5F)
See Also