IVsTextView.CenterLines(Int32, Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Place les lignes de texte spécifiées au centre de la vue.
public:
int CenterLines(int iTopLine, int iCount);
public:
int CenterLines(int iTopLine, int iCount);
int CenterLines(int iTopLine, int iCount);
public int CenterLines (int iTopLine, int iCount);
abstract member CenterLines : int * int -> int
Public Function CenterLines (iTopLine As Integer, iCount As Integer) As Integer
Paramètres
- iTopLine
- Int32
[in] Première ligne à placer dans le centre de la vue.
- iCount
- Int32
[in] Nombre total de lignes à placer au centre de la vue.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Remarques
Signature COM
À partir de textmgr. idl :
HRESULT IVsTextView::CenterLines(
[in] long iTopLine,
[in] long iCount
);