ITextFont2::GetProperty method

Gets the value of the specified property.

Syntax

HRESULT GetProperty(
  long Type,
  long *pValue
);

Parameters

Type

Type: long

The property ID of the value to return. See Remarks.

pValue

Type: long*

The property value.

Return Value

Type: HRESULT

If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.

Remarks

Property IDs are defined by the Text Object Model (TOM). Here are how some of the TOM values are obtained:

Requirements

   
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header tom.h
DLL Msftedit.dll

See Also

ITextFont2

ITextFont2::SetProperty