Metodo ITextDocument2::GetSelection2 (tom.h)

Ottiene la selezione attiva.

Sintassi

HRESULT GetSelection2(
  [out, retval] ITextSelection2 **ppSel
);

Parametri

[out, retval] ppSel

Tipo: ITextSelection2**

Selezione attiva. Questo parametro è NULL se il controllo rich edit non è attivo sul posto.

Valore restituito

Tipo: HRESULT

Se il metodo ha esito positivo, restituisce NOERROR. In caso contrario, restituisce un codice di errore HRESULT .

Requisiti

Requisito Valore
Client minimo supportato Windows 8 [solo app desktop]
Server minimo supportato Windows Server 2012 [solo app desktop]
Piattaforma di destinazione Windows
Intestazione tom.h
DLL Msftedit.dll

Vedi anche

ITextDocument2