Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.28
|
Leadtools Namespace > RasterImage Class : AnimationGlobalSize Property |
public LeadSize AnimationGlobalSize {get; set;}
'Declaration
Public Property AnimationGlobalSize As LeadSize
'Usage
Dim instance As RasterImage Dim value As LeadSize instance.AnimationGlobalSize = value value = instance.AnimationGlobalSize
public LeadSize AnimationGlobalSize {get; set;}
@property (nonatomic, assign) LeadSize animationGlobalSize
public LeadSize getAnimationGlobalSize() public void setAnimationGlobalSize(LeadSize value)
<br/>get_AnimationGlobalSize();<br/>set_AnimationGlobalSize(value);<br/>Object.defineProperty('AnimationGlobalSize');
The value of this property is used by the RasterImageAnimator class to properly update the correct portion of the target image.
GIF files can contain multiple frames of different size. The AnimationGlobalSize property contains the "global" size of the animated GIF image. Individual frames should be rendered inside this global size offseted by the value of AnimationOffset property.
When the value of this property is changed, the Changed event will fire with RasterImageChangedFlags set to RasterImageChangedFlags.AnimationProperties.
For more information, refer to Implementing Animation.
RasterImage Class
RasterImage Members
AnimationWaitUserInput Property
AnimationOffset Property
AnimationDelay Property
AnimationBackground Property
AnimationDisposalMethod Property
AnimationGlobalLoop Property
AnimationGlobalBackground Property
RasterImageAnimator Class
Implementing Animation