←Select platform

AnimationGlobalSize Property

Summary

Gets or sets a value indicating the global size of the animation image.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public Leadtools.LeadSize AnimationGlobalSize {get; set;} 
Public Property AnimationGlobalSize As Leadtools.LeadSize 
public Leadtools.LeadSize AnimationGlobalSize {get; set;} 
@property (nonatomic, assign) LeadSize animationGlobalSize 
public LeadSize getAnimationGlobalSize() 
public void setAnimationGlobalSize(LeadSize value) 
             
  
get_AnimationGlobalSize(); 
set_AnimationGlobalSize(value); 
Object.defineProperty('AnimationGlobalSize');  
public: 
property Leadtools.LeadSize AnimationGlobalSize { 
   Leadtools.LeadSize get(); 
   void set (    Leadtools.LeadSize ); 
} 

Property Value

A LeadSize structure that indicates the global size of the animation image. Default value is 0,0 meaning same size as the image

Remarks

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.

Example

For an example, refer to AnimationGlobalLoop

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools Assembly
Click or drag to resize