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
‘선언
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
- textView
Type: Microsoft.VisualStudio.Text.Editor.ITextView
ITextView for which to get an IScrollMap.
- areElisionsExpanded
Type: System.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
- 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.