TextBounds::Width Property

 

Gets the distance between the leading and trailing edges 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)

public:
property double Width {
	double get();
}

Property Value

Type: System::Double

The distance between the leading and trailing edges of the rectangle in the text rendering coordinate system.

This value is always non-negative.

Return to top
Show: