Edit

Share via


Borders.DistanceFromTop Property

Definition

Returns or sets the space (in points) between the text and the top border.

public:
 property int DistanceFromTop { int get(); void set(int value); };
public int DistanceFromTop { get; set; }
member this.DistanceFromTop : int with get, set
Public Property DistanceFromTop As Integer

Property Value

Remarks

Using this property with a page border, you can set either the space between the text and the top page border or the space between the top edge of the page and the top page border. Where the distance is measured from depends on the value of the DistanceFrom property.

Applies to