ITextDocument2::GetTypographyOptions-Methode (tom.h)

Ruft die Typografieoptionen ab.

Syntax

HRESULT GetTypographyOptions(
  [out, retval] long *pOptions
);

Parameter

[out, retval] pOptions

Typ: long*

Eine Kombination der folgenden Typografieoptionen.

Wert Bedeutung
TO_ADVANCEDTYPOGRAPHY
Die erweiterte Typografie (spezielle Zeilenumbruch- und Zeilenformatierung) ist aktiviert.
TO_SIMPLELINEBREAK
Es werden normale Zeilenumbrüche und Formatierungen verwendet.

Rückgabewert

Typ: HRESULT

Wenn die Methode erfolgreich ist, gibt sie NOERROR zurück. Andernfalls wird ein Fehlercode HRESULT zurückgegeben.

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows 8 [nur Desktop-Apps]
Unterstützte Mindestversion (Server) Windows Server 2012 [nur Desktop-Apps]
Zielplattform Windows
Kopfzeile tom.h
DLL Msftedit.dll

Weitere Informationen

ITextDocument2

ITextDocument2::SetTypographyOptions