Método ITextDocument2::GetProperty (tom.h)

Recupera el valor de una propiedad.

Sintaxis

HRESULT GetProperty(
  [in]  long Type,
  [out] long *pValue
);

Parámetros

[in] Type

Tipo: long

Identificador de la propiedad que se debe recuperar. Puede ser uno de los siguientes identificadores de propiedad.

tomCanCopy

tomCanRedo

tomCanUndo

tomDocMathBuild

tomMathInterSpace

tomMathIntraSpace

tomMathLMargin

tomMathPostSpace

tomMathPreSpace

tomMathRMargin

tomMathWrapIndent

tomMathWrapRight

tomUndoLimit

tomEllipsisMode

tomEllipsisState

[out] pValue

Tipo: long*

Valor de la propiedad.

Valor devuelto

Tipo: HRESULT

Si el método se realiza correctamente, devuelve NOERROR. De lo contrario, devuelve un código de error de HRESULT.

Requisitos

Requisito Value
Cliente mínimo compatible Windows 8 [solo aplicaciones de escritorio]
Servidor mínimo compatible Windows Server 2012 [solo aplicaciones de escritorio]
Plataforma de destino Windows
Encabezado tom.h
Archivo DLL Msftedit.dll

Consulte también

ITextDocument2

ITextDocument2::GetMathProperties

ITextDocument2::SetProperty