The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Document.Unit Property

Gets or sets a document's measure units.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v19.1.Core.dll

Declaration

DocumentUnit Unit { get; set; }
Property Unit As DocumentUnit
DocumentUnit Unit { get; set; }
Property Unit As DocumentUnit

Property Value

Type Description
DocumentUnit

One of the DocumentUnit enumeration values indicating the measure unit.

Property Value

Type Description
DocumentUnit

One of the DocumentUnit enumeration values indicating the measure unit.

Remarks

The Unit property specifies almost all properties involving linear measurements. The default unit of measurement is the DocumentUnit.Document.

Changing the Unit value recalculates all related properties as well. Specify the Unit property before setting target linear measurements.

See Also