Partager via


IScrollMapFactoryService.Create Method

Definition

Overloads

Create(ITextView)

Creates or reuses an existing scroll map for the specified ITextView.

Create(ITextView, Boolean)

Creates or reuses an existing scroll map for the specified ITextView.

Create(ITextView)

Creates or reuses an existing scroll map for the specified ITextView.

public:
 Microsoft::VisualStudio::Text::Editor::IScrollMap ^ Create(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView);
public:
 Microsoft::VisualStudio::Text::Editor::IScrollMap ^ Create(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView);
Microsoft::VisualStudio::Text::Editor::IScrollMap Create(Microsoft::VisualStudio::Text::Editor::ITextView const & textView);
public Microsoft.VisualStudio.Text.Editor.IScrollMap Create (Microsoft.VisualStudio.Text.Editor.ITextView textView);
abstract member Create : Microsoft.VisualStudio.Text.Editor.ITextView -> Microsoft.VisualStudio.Text.Editor.IScrollMap
Public Function Create (textView As ITextView) As IScrollMap

Parameters

textView
ITextView

ITextView for which to get an IScrollMap.

Returns

An IScrollMap for textView.

Remarks

The coordinate system returned by this scroll map will act as if elisions are not expanded.

Applies to

Create(ITextView, Boolean)

Creates or reuses an existing scroll map for the specified ITextView.

public:
 Microsoft::VisualStudio::Text::Editor::IScrollMap ^ Create(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, bool areElisionsExpanded);
public:
 Microsoft::VisualStudio::Text::Editor::IScrollMap ^ Create(Microsoft::VisualStudio::Text::Editor::ITextView ^ textView, bool areElisionsExpanded);
Microsoft::VisualStudio::Text::Editor::IScrollMap Create(Microsoft::VisualStudio::Text::Editor::ITextView const & textView, bool areElisionsExpanded);
public Microsoft.VisualStudio.Text.Editor.IScrollMap Create (Microsoft.VisualStudio.Text.Editor.ITextView textView, bool areElisionsExpanded);
abstract member Create : Microsoft.VisualStudio.Text.Editor.ITextView * bool -> Microsoft.VisualStudio.Text.Editor.IScrollMap
Public Function Create (textView As ITextView, areElisionsExpanded As Boolean) As IScrollMap

Parameters

textView
ITextView

ITextView for which to get an IScrollMap.

areElisionsExpanded
Boolean

Does the coordinate system used by this scroll map act as if all elisions are expanded?

Returns

An IScrollMap for textView.

Applies to