ITextView.VisualSnapshot Property

Definition

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

C++/CX
public:
 property Microsoft::VisualStudio::Text::ITextSnapshot ^ VisualSnapshot { Microsoft::VisualStudio::Text::ITextSnapshot ^ get(); };

Property Value

The text snapshot.

Remarks

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

Applies to

Produit Versions
Visual Studio SDK 2015, 2017, 2019, 2022