ITextViewLine.GetAdornmentBounds Method

Calculates the bounds of the specified adornment.

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Nullable<TextBounds> GetAdornmentBounds(
	Object identityTag


Type: Object

The IAdornmentElement.IdentityTag of the adornment whose bounds should be calculated.

Return Value

Type: Nullable<TextBounds>
A TextBounds structure if this line contains an adornment with the specified identityTag, otherwise null.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft