Skip to main content
ITextPara2::SetEffects method

Sets the paragraph format effects.

Syntax


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

Parameters

Value [in]

Type: long

The paragraph effects value.

This value can be a combination of the flags defined in the table for ITextPara2::GetEffects.

Mask [in]

Type: long

The desired mask.

This value can be a combination of the flags defined in the table for ITextPara2::GetEffects.

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.

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

ITextPara2
ITextPara2::GetEffects