ITextView::VisualSnapshot Property

 

Gets the ITextSnapshot of the visual buffer that is being rendered.

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

property ITextSnapshot^ VisualSnapshot {
	ITextSnapshot^ get();
}

Property Value

Type: Microsoft.VisualStudio.Text::ITextSnapshot^

The text snapshot.

This snapshot should not be used in any method that requires a position in the text buffer position, since those positions refer to TextSnapshot.

Return to top
Show: