Udostępnij za pośrednictwem


IGlyphFactory.GenerateGlyph(IWpfTextViewLine, IGlyphTag) Method

Definition

Generates a new glyph visual for the given line.

public:
 System::Windows::UIElement ^ GenerateGlyph(Microsoft::VisualStudio::Text::Formatting::IWpfTextViewLine ^ line, Microsoft::VisualStudio::Text::Editor::IGlyphTag ^ tag);
public System.Windows.UIElement GenerateGlyph (Microsoft.VisualStudio.Text.Formatting.IWpfTextViewLine line, Microsoft.VisualStudio.Text.Editor.IGlyphTag tag);
abstract member GenerateGlyph : Microsoft.VisualStudio.Text.Formatting.IWpfTextViewLine * Microsoft.VisualStudio.Text.Editor.IGlyphTag -> System.Windows.UIElement
Public Function GenerateGlyph (line As IWpfTextViewLine, tag As IGlyphTag) As UIElement

Parameters

line
IWpfTextViewLine

The line that this glyph will be placed on.

tag
IGlyphTag

Information about the glyph for which the visual is being generated.

Returns

The visual element for the given tag.

Applies to