|
Animated Images in TRichView |
Top Previous Next |
|
Overview TRichView can animate inserted images. AnimationMode property defines when animation starts. By default, AnimationMode=rvaniManualStart. rvaniManualStart is used by default because rvaniOnFormat may cause problems in some existing applications (created before implementing this feature), because animation must be stopped when you call viewer-style methods like DeleteItems. If you simply load and edit documents, set this mode to rvaniOnFormat. Methods:
Supported Animations
Include RVGifAnimate2007 unit in your project to enable this animation.
Downloads:
Include RVGifAnimate unit in your project to enable this animation.
Dowloads: http://jvcl.sourceforge.net.
Bitmap is sliced into animation frames (rvepImageWidth x rvepImageHeight) arranged in rows and columns. Animation is enabled if you set nonzero rvepAnimationInterval (animation delay in 1/100 of second), see TRVExtraItemProperty type. If one of rvepImageWidth and rvepImageHeight is not defined (zero), frame width/height is assumed to be equal to the image width/height. If both of them are not defined, animation is not played. |