TXTextControl.PageMargins.Top Property

Specifies the top margin of a TX Text Control document or document section. The measure depends on the TextControl.PageUnit, WPF.TextControl.PageUnit or ServerTextControl.PageUnit property.


public double Top { get; set; }
[Visual Basic]
Public Property Top() As Double


The margin's default value is 1 inch.

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

See Also