ITextFont2::SetEffects2 method

Sets the additional character format effects.

Syntax


HRESULT SetEffects2(
  [in]  long Value,
  [in]  long Mask
);

Parameters

Value [in]

Type: long

A combination of the following character format flags.

tomAutoSpaceAlpha
tomAutoSpaceNumeric
tomAutoSpaceParens
tomDoublestrike
tomEmbeddedFont
tomModWidthPairs
tomModWidthSpace
tomOverlapping
Mask [in]

Type: long

The desired mask, which can be a combination of the Value flags. Only effects with the corresponding mask flag set are modified.

Return value

Type: HRESULT

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

Remarks

Only effects with the corresponding mask flag set are modified.

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

ITextFont2
ITextFont2::GetEffects2

 

 

Community Additions

ADD
Show:
© 2014 Microsoft