TextPatternIdentifiers.MarginTopAttribute Field


Identifies the MarginTop (PageSettings) attribute of a text range.

public: static initonly System::Windows::Automation::AutomationTextAttribute ^ MarginTopAttribute;
public static readonly System.Windows.Automation.AutomationTextAttribute MarginTopAttribute;
 staticval mutable MarginTopAttribute : System.Windows.Automation.AutomationTextAttribute
Public Shared ReadOnly MarginTopAttribute As AutomationTextAttribute 

Field Value



The top margin applied to the page(s) associated with the calling text range.

This identifier is used by UI Automation providers. UI Automation client applications should use the equivalent field in TextPattern.

Values for this attribute are of type Double.

The default value is zero.

Applies to

See also