Gets or sets a value indicating the animation offset for the current frame.
public LeadPoint AnimationOffset { get; set; }
Public Property AnimationOffset As Leadtools.LeadPoint
public Leadtools.LeadPoint AnimationOffset {get; set;}
@property (nonatomic, assign) LeadPoint animationOffset
public LeadPoint getAnimationOffset()
<br/>get_AnimationOffset();<br/>set_AnimationOffset(value);<br/>Object.defineProperty('AnimationOffset');
public:
property Leadtools.LeadPoint AnimationOffset {
Leadtools.LeadPoint get();
void set ( Leadtools.LeadPoint );
}
A LeadPoint structure containing the animation offset for the current frame in RasterViewPerspective.TopLeft view perspective.
The value of this property is used by the RasterImageAnimator class to properly update the correct portion of the target image when rendering the current frame.
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.
For an example, refer to AnimationGlobalLoop
AnimationWaitUserInput Property
AnimationDisposalMethod Property
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET