Declaration
Delphi
function SetContinuousScrollingInitOptions(ButtonText:ShortString; TileWidth:integer; TileHeight:Integer; StartTileIndex: integer; TileOffset: integer; TotalDocPages: integer; WParam:integer) : integer;
C/C++
todo::
ActiveX
HRESULT _stdcall SetContinuousScrollingInitOptions([in] BSTR ButtonText, [in] long TileWidth, [in] long TileHeight, [in] long StartTileIndex, [in] long TileOffset, [in] long TotalDocPages, [in] long WParam, [out, retval] HRESULT RETVAL);
Description
Init parameters for the continuous scrolling mode
Arguments
name | type | description |
---|---|---|
ButtonText | string | Label for the Button - up to 20 characters |
TileWidth | integer | Note: currently only 992 is supported |
TileHeight | integer | Note: currently only {351,702} is supported |
StartTileIndex | integer | the beginning tile number (must be positive, 1 ... 32767) |
TileOffset | integer | ... |
TotalDocPages | integer | total document pages |
WParam | integer | wParam=0 : force enter mode immediately wParam=1 : just set only the Tile number (for jumping) |
Return value
return 0 if every thing is okay