IGlyphFactory.GenerateGlyph Method
Generates a new glyph visual for the given line.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Declaration
Function GenerateGlyph ( _
line As IWpfTextViewLine, _
tag As IGlyphTag _
) As UIElement
UIElement GenerateGlyph(
IWpfTextViewLine line,
IGlyphTag tag
)
UIElement^ GenerateGlyph(
IWpfTextViewLine^ line,
IGlyphTag^ tag
)
abstract GenerateGlyph :
line:IWpfTextViewLine *
tag:IGlyphTag -> UIElement
function GenerateGlyph(
line : IWpfTextViewLine,
tag : IGlyphTag
) : UIElement
Parameters
- line
Type: Microsoft.VisualStudio.Text.Formatting.IWpfTextViewLine
The line that this glyph will be placed on.
- tag
Type: Microsoft.VisualStudio.Text.Editor.IGlyphTag
Information about the glyph for which the visual is being generated.
Return Value
Type: System.Windows.UIElement
The visual element for the given tag.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.