IVsTextView.SetTopLine(Int32) Method

Definition

Sets the top line in the view to the baseline.

C++/CX
public:
 int SetTopLine(int iBaseLine);

Parameters

iBaseLine
Int32

[in] Indicates the line that should be set as the baseline.

Returns

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

Remarks

COM Signature

From textmgr.idl:

cpp#
HRESULT IVsTextView::SetTopLine(  
   [in] long iBaseLine  
);  

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022