次の方法で共有


IFormattedLine.GetOrCreateVisual Method

Definition

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.

Applies to