ITextViewLine::GetAdornmentBounds Method (Object^)

 

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
)

Parameters

identityTag
Type: System::Object^

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

Return Value

Type: System::Nullable<TextBounds>

A TextBounds structure if this line contains an adornment with the specified identityTag, otherwise null.

Return to top
Show: