Edit

Share via


PageSetup.TopMargin Property

Definition

Returns or sets the size of the top margin in points.

public:
 property double TopMargin { double get(); void set(double value); };
public double TopMargin { get; set; }
Public Property TopMargin As Double

Property Value

Remarks

Margins are set or returned in points. Use the InchesToPoints(Double) method or the CentimetersToPoints(Double) method to convert measurements from inches or centimeters.

Applies to