Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the typography options for the document.
Syntax
HRESULT SetTypographyOptions(
[in] long Options,
[in] long Mask
);
Parameters
[in] Options
Type: long
The typography options to set. For a list of possible options, see GetTypographyOptions.
[in] Mask
Type: long
A mask identifying the options to set. For example, to turn on TO_ADVANCEDTYPOGRAPHY, call ITextDocument2::SetTypographyOptions (TO_ADVANCEDTYPOGRAPHY, TO_ADVANCEDTYPOGRAPHY).
Return value
Type: HRESULT
If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
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 |