Compartilhar via


IScrollMapFactoryService.Create Method (ITextView, Boolean)

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

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaration
Function Create ( _
    textView As ITextView, _
    areElisionsExpanded As Boolean _
) As IScrollMap
IScrollMap Create(
    ITextView textView,
    bool areElisionsExpanded
)
IScrollMap^ Create(
    ITextView^ textView, 
    bool areElisionsExpanded
)
abstract Create : 
        textView:ITextView * 
        areElisionsExpanded:bool -> IScrollMap
function Create(
    textView : ITextView, 
    areElisionsExpanded : boolean
) : IScrollMap

Parameters

  • areElisionsExpanded
    Type: Boolean

    true if the coordinate system used by this scroll map act as if all elisions are expanded, otherwise false.

Return Value

Type: Microsoft.VisualStudio.Text.Editor.IScrollMap
An IScrollMap for textView.

.NET Framework Security

See Also

Reference

IScrollMapFactoryService Interface

Create Overload

Microsoft.VisualStudio.Text.Editor Namespace