TXTextControl.PageBorder.SurroundHeader Property

Gets or sets a value indicating whether the page border surrounds the section's header. If this property is set to true, the page border surrounds the header, otherwise it surrounds only the text. This property only has a meaning, if the MeasureFromText property has been set to true.

Syntax

[C#]
public bool SurroundHeader { get; set; }
[Visual Basic]
Public Property SurroundHeader() 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