TXTextControl.PageBorder.MeasureFromText Property

Gets or sets a value indicating whether the page border's distances are measured from the text. If this property is set to true, the page border's distances are measured from the text, otherwise they are measured from the edge of the page.

Syntax

[C#]
public bool MeasureFromText { get; set; }
[Visual Basic]
Public Property MeasureFromText() As Boolean

Remarks

The property's default value is false.

The property returns its default value when the text selection contains multiple sections with mixed setting. The Selection.IsCommonValueSelected method can be used to check for mixed attributes.

See Also