IVsViewRangeClient::AdjustViewRange Method (IVsTextView^, TextViewAction, Int32, Int32)

 

Adjust the view range as specified.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int AdjustViewRange(
	IVsTextView^ pView,
	TextViewAction action,
	int iLine,
	int iCount
)

Parameters

pView
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextView^

[in] The text view.

action
Type: Microsoft.VisualStudio.TextManager.Interop::TextViewAction

[in] The text view action.

iLine
Type: System::Int32

[in] The line number of the range.

iCount
Type: System::Int32

[in] The character count of the range.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From textmgr.idl:

HRESULT IVsViewRangeClient::AdjustViewRange(
   [in] IVsTextView *pView,
   [in] TextViewAction action,
   [in] long iLine,
   [in] long iCount
);
Return to top
Show: