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 type Value tomNoAnimation 0 tomLasVegasLights 1 tomBlinkingBackground 2 tomSparkleText 3 tomMarchingBlackAnts 4 tomMarchingRedAnts 5 tomShimmer 6 tomWipeDown 7 tomWipeRight 8
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 code | Description |
|---|---|
|
Invalid argument. |
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
DLL |
|
See also
- Reference
- ITextFont
- GetAnimation
- Conceptual
- Text Object Model
Send comments about this topic to Microsoft
Build date: 10/27/2012
