共用方式為


IGlyphFactoryProvider.GetGlyphFactory Method

Definition

Gets the IGlyphFactory for the given text view and margin.

public:
 Microsoft::VisualStudio::Text::Editor::IGlyphFactory ^ GetGlyphFactory(Microsoft::VisualStudio::Text::Editor::IWpfTextView ^ view, Microsoft::VisualStudio::Text::Editor::IWpfTextViewMargin ^ margin);
public Microsoft.VisualStudio.Text.Editor.IGlyphFactory GetGlyphFactory (Microsoft.VisualStudio.Text.Editor.IWpfTextView view, Microsoft.VisualStudio.Text.Editor.IWpfTextViewMargin margin);
abstract member GetGlyphFactory : Microsoft.VisualStudio.Text.Editor.IWpfTextView * Microsoft.VisualStudio.Text.Editor.IWpfTextViewMargin -> Microsoft.VisualStudio.Text.Editor.IGlyphFactory
Public Function GetGlyphFactory (view As IWpfTextView, margin As IWpfTextViewMargin) As IGlyphFactory

Parameters

view
IWpfTextView

The view for which the factory is being created.

margin
IWpfTextViewMargin

The margin for which the factory will create glyphs.

Returns

An IGlyphFactory for the given view and margin.

Applies to