ITextDocument2::SetTypographyOptions method

Specifies the typography options for the document.

Syntax


HRESULT SetTypographyOptions(
  [in]  long Options,
  [in]  long Mask
);

Parameters

Options [in]

Type: long

The typography options to set. For a list of possible options, see GetTypographyOptions.

Mask [in]

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Tom.h

DLL

Msftedit.dll

See also

ITextDocument2
ITextDocument2::GetTypographyOptions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft