TextPattern.MarginBottomAttribute Field


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

Namespace:   System.Windows.Automation
Assembly:  UIAutomationClient (in UIAutomationClient.dll)

public static readonly AutomationTextAttribute MarginBottomAttribute

This attribute represents the bottom margin applied to the page(s) associated with the calling text range.

This identifier is used by applications. s should use the equivalent field in TextPatternIdentifiers.GTMTGTMT

s get the value of the attribute by calling GetAttributeValue. GTMT

Values for this attribute are of type Double. The default value is zero.

Legacy Code Example

The following example shows how to obtain an attribute value for a range of text in Microsoft Notepad.


Microsoft Notepad is used as the text provider for example purposes only. Microsoft Notepad is not guaranteed to support the attribute value being requested.

Code snippet is not found. Confirm that the code snippet name 'UIATextPattern_snip' is correct.Code snippet is not found. Confirm that the code snippet name 'UIATextPattern_snip' is correct.

.NET Framework
Available since 3.0
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft