TextBounds.Top Property
Gets the position of the top edge of the rectangle in the text rendering coordinate system.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
声明
Public ReadOnly Property Top As Double
public double Top { get; }
public:
property double Top {
double get ();
}
member Top : float
function get Top () : double
Property Value
Type: System.Double
The position of the top edge of the rectangle in the text rendering coordinate system.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.