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.IWpfTextViewLineThe line that this glyph will be placed on.
tag
Type: Microsoft.VisualStudio.Text.Editor.IGlyphTagInformation about the glyph for which the visual is being generated.
Return Value
Type: 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.