VsTextViewClass::CenterLines Method (Int32, Int32)
Visual Studio 2015
Places the specified lines of text in the center of the view.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- iTopLine
-
Type:
System::Int32
[in] First line to place in the center of the view.
- iCount
-
Type:
System::Int32
[in] Total number of lines to place in the center of the view.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsTextView::CenterLines(Int32, Int32)
Show: