SetLcdSignZoom
Declaration
Delphi
procedure SetLcdSignZoom(ZoomType: Integer; Zoom: Integer; TopLeftX, TopLeftY: Integer); stdcall;
ActiveX
HRESULT _stdcall SetLcdSignZoom([in] long ZoomType, [in] long Zoom, [in] long TopLeftX, [in] long TopLeftY);
Description
With SetLcdSignZoom you can define the zoom level for the SignInDocument mode, which is usable with devices with colour displays (Colour, Brilliance). That function only works in combination with SetSignDocMode and after the document was loaded.
Arguments
Argument | Explanation |
---|---|
ZoomType | Until now only the values 0 and 7 are usable
|
Zoom | Zoomtype = 0 Zoomlevel, set a percental value here 0 Zoomtype = 6 Bit 0 = Scroll to Position in X direction at start of signature in SignOnDoc Mode Bit 1 = Scroll to Position in Y direction at start of signature in SignOnDoc Mode Bit 2 = Center Signaturerectangle on LC Display in X direction Bit 3 = Center Signaturerectangle on LC Display in Y direction Bit 4 - 32 reserved, set to 0 Zoomtype = 7 How much space should be used for the Signing Area in SignOnDocMode, set a percental value from 60 to 100 |
TopLeftX TopLeftY | Zoomtype = 2 TopLeftX= Width of signature rectangle in SignOnDoc mode in mm, set to 0 if not used TopLeftY= Height of signature rectangle in SignOnDoc mode in mm, set to 0 if not used Zoomtype = 3 TopLeftX= Position the left side of signature rectangle in SignOnDoc mode in mm, from the left edge of the display TopLeftY= Position the bottom side of signature rectangle in SignOnDoc mode in mm, from the bottom edge of the display |
C# sample
// Set Zoom for Sign in Document Mode and enable it with SetSignDocMode SignAPIv4.SetLcdSignZoom(0, 280, 0, 0); SignAPIv4.SetSignDocMode(100, 100, 250, 200, 1);  /* Alternative way to place the Signature Rectangle SignAPIv4.SetLcdSignZoom(3, 0, 20, 50); // place signature 2cm from left and 5cm from bottom SignAPIv4.SetLcdSignZoom(2, 0, 50, 0); // width of 5cm */  // Next step is to start Signing  string padSettings = ""; bool Capturing = SigDev.startCapture("", true, true, true, true, ref ps);
Â