SetContinuousScrollingInitOptions

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

nametypedescription
ButtonTextstringLabel for the Button - up to 20 characters

TileWidth

integerNote: currently only 992 is supported
TileHeightintegerNote: currently only {351,702} is supported
StartTileIndexintegerthe beginning tile number (must be positive, 1 ... 32767)
TileOffsetinteger...
TotalDocPagesintegertotal document pages
WParaminteger

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