This topic has not yet been rated - Rate this topic

ITextFont::SetAnimation method

Sets the animation type.

Syntax


HRESULT SetAnimation(
  [in]  long Value
);

Parameters

Value [in]

Type: long

The animation type. It can be one of the following values.

Animation typeValue
tomNoAnimation0
tomLasVegasLights1
tomBlinkingBackground2
tomSparkleText3
tomMarchingBlackAnts4
tomMarchingRedAnts5
tomShimmer6
tomWipeDown7
tomWipeRight8

 

Return value

Type: HRESULT

If the method succeeds, it returns S_OK. If the method fails, it returns the following COM error code. For more information about COM error codes, see Error Handling in COM.

Return codeDescription
E_INVALIDARG

Invalid argument.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Tom.h

DLL

Msftedit.dll

See also

Reference
ITextFont
GetAnimation
Conceptual
Text Object Model

 

 

Send comments about this topic to Microsoft

Build date: 10/27/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.