IGlyphFactory.GenerateGlyph(IWpfTextViewLine, IGlyphTag) 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.
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.