IVsTextView.SetTopLine(Int32) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the top line in the view to the baseline.
public:
int SetTopLine(int iBaseLine);
C++/CX
public:
int SetTopLine(int iBaseLine);
int SetTopLine(int iBaseLine);
public int SetTopLine(int iBaseLine);
abstract member SetTopLine : int -> int
Public Function SetTopLine (iBaseLine As Integer) As Integer
- iBaseLine
- Int32
[in] Indicates the line that should be set as the baseline.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
cpp#
HRESULT IVsTextView::SetTopLine(
[in] long iBaseLine
);
Product | Versions |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |