Partager via


IVsTextView.SetTopLine(Int32) Method

Definition

Sets the top line in the view to the baseline.

public:
 int SetTopLine(int iBaseLine);
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

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:

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

Applies to