topic "RasterPlayer";
[0 $$1,0#96390100711032703541132217272105:end]
[i448;a25;kKO9;2 $$2,0#37138531426314131252341829483380:class]
[l288;2 $$3,3#27521748481378242620020725143825:desc]
[b42;2 $$4,4#13035079074754324216151401829390:normal]
[H6;0 $$5,0#05600065144404261032431302351956:begin]
[i448;a25;kKO9;2 $$6,0#37138531426314131252341829483370:item]
[ $$0,0#00000000000000000000000000000000:Default]
[{_}%EN-US 
[s1;%- &]
[s2;:RasterPlayer`:`:class:%- [@(0.0.255)3 class][3 _][*3 RasterPlayer][3 _:_][@(0.0.255)3 publi
c][3 _][*@3;3 Ctrl]&]
[s0;2 &]
[s0; [2 As seen in layout designer:]&]
[s0;2 &]
[s3;= 
@@image:1867&940
([encoded data, 19656 characters])
&]
[s0;2 &]
[s0; [2 As seen in program:]&]
[s0;2 &]
[s0;=l288; [2 
@@image:1762&860
([encoded data, 49460 characters])
]&]
[s0;2 &]
[s4; RasterPlayer is a control to render animated GIF and multipage 
TIFF files.&]
[s4; &]
[s1; &]
[ {{10000F(128)G(128)@1 [s0; [*2 Constructor Detail]]}}&]
[s5;%- &]
[s6;:RasterPlayer`:`:RasterPlayer`(`):%- [* RasterPlayer]()&]
[s3; Initializes RasterPlayer.&]
[s1; &]
[s5;%- &]
[s6;:RasterPlayer`:`:`~RasterPlayer`(`):%- [@(0.0.255) `~][* RasterPlayer]()&]
[s3; Stop player thread (if MT) and cleans RasterPlayer.&]
[s1;2 &]
[ {{10000F(128)G(128)@1 [s0; [*2 Public Member List]]}}&]
[s1;%- &]
[s5;%- &]
[s6;:RasterPlayer`:`:Load`(const String`&`):%- [@(0.0.255) bool]_[* Load]([@(0.0.255) const
]_[_^String^ String]_`&[*@3 fileName])&]
[s3; Loads the multipage GIF or TIFF file in [%-*@3 fileName].&]
[s1; &]
[s5;%- &]
[s6;:RasterPlayer`:`:LoadBuffer`(const String`&`):%- [@(0.0.255) bool]_[* LoadBuffer]([@(0.0.255) c
onst]_[_^String^ String]_`&[*@3 buffer])&]
[s3; Loads the multipage GIF or TIFF file stored in [%-*@3 buffer]. 
This function is useful when the file is stored in a resource.&]
[s1; &]
[s5;%- &]
[s6;:RasterPlayer`:`:Play`(`):%- [@(0.0.255) void]_[* Play]()&]
[s3; Plays the animation at the speed (frame rate) defined in the 
file.&]
[s1;%- &]
[s5;%- &]
[s6;:RasterPlayer`:`:Stop`(`):%- [@(0.0.255) void]_[* Stop]()&]
[s3; Stops the animation. The control will show the last picture 
(page or frame) rendered.&]
[s1;%- &]
[s5;%- &]
[s6;:RasterPlayer`:`:NextFrame`(`):%- [@(0.0.255) void]_[* NextFrame]()&]
[s3; If RasterPlayer is stopped, it will show the next picture (page 
or frame).&]
[s1;%- &]
[s5;%- &]
[s6;:RasterPlayer`:`:NextPage`(`):%- [@(0.0.255) void]_[* NextPage]()&]
[s3; As NextFrame().&]
[s1;%- &]
[s5;%- &]
[s6;:RasterPlayer`:`:SetBackground`(Color`):%- [_^RasterPlayer^ RasterPlayer][@(0.0.255) `&
]_[* SetBackground]([_^Color^ Color]_[*@3 c])&]
[s3; Sets the color not filled with the animation and the transparent 
color.&]
[s1; &]
[s5;%- &]
[s6;:RasterPlayer`:`:SetSpeed`(double`):%- [_^RasterPlayer^ RasterPlayer][@(0.0.255) `&]_
[* SetSpeed]([@(0.0.255) double]_[*@3 s]_`=_[@3 1])&]
[s3; It is the playing speed of the animation. Normal value of [%-*@3 s] 
is 1.&]
[s3; If [%-*@3 s] is higher than 1, the animation will be played faster 
than the normal speed.&]
[s1; &]
[s5;%- &]
[s6;:RasterPlayer`:`:SetMT`(bool`):%- [_^RasterPlayer^ RasterPlayer][@(0.0.255) `&]_[* SetM
T]([@(0.0.255) bool]_[*@3 mt]_`=_[@(0.0.255) false])&]
[s3; If the program is compiled with MT, [%-*@3 mt] indicates if the 
animation will run in a new thread (true) or in the same thread 
(false) as the main program.&]
[s3; If the program is not compiled with MT, this option is void 
as the animation will always run in the same thread as the main 
program.&]
[s1; &]
[s5;%- &]
[s6;:RasterPlayer`:`:GetPageCount`(`):%- [@(0.0.255) int]_[* GetPageCount]()&]
[s3; Gets the number of pictures (pages or frames) in the file.&]
[s1;%- &]
[s5;%- &]
[s6;:RasterPlayer`:`:GetFrameCount`(`):%- [@(0.0.255) int]_[* GetFrameCount]()&]
[s3; As GetPageCount().&]
[s1;%- &]
[s5;%- &]
[s6;:RasterPlayer`:`:GetPage`(`):%- [@(0.0.255) int]_[* GetPage]()&]
[s3; Gets the active page (frame).&]
[s1;%- &]
[s5;%- &]
[s6;:RasterPlayer`:`:SetPage`(int`):%- [@(0.0.255) void]_[* SetPage]([@(0.0.255) int]_[*@3 i])
&]
[s3; Sets the active page (frame).&]
[s1; &]
[s5;%- &]
[s6;:RasterPlayer`:`:WhenShown:%- [_^Callback^ Event<>]_[* WhenShown]&]
[s3; Called when a new picture (page or frame) is shown.&]
[s0; ]]