IFormattedLine.GetOrCreateVisual Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the WPF Visual that can be used to add this formatted text line to a VisualCollection.
public:
System::Windows::Media::Visual ^ GetOrCreateVisual();
public System.Windows.Media.Visual GetOrCreateVisual ();
abstract member GetOrCreateVisual : unit -> System.Windows.Media.Visual
Public Function GetOrCreateVisual () As Visual
Returns
The Visual that can be used to add this formatted text line to a VisualCollection.
Exceptions
This IWpfTextViewLine has been disposed.