• API documentation
Show / Hide Table of Contents
  • NextGenAPI
    • Finder
      • BlindSearch
      • FirstPad
      • KnownHost
      • NetworkProtocolSheme
      • UseFirstPad
      • UseFirstPadAndLogin
    • HttpFuncs
      • FormDataContent
      • JsonDefaultString
      • JsonPrettyString
      • Serialize
      • TryOptionSend
    • ImageFormat
    • JsonOptions
      • SerializerOptionsDefault
      • SerializerOptionsPretty
    • Login
      • id
      • page
    • LoginPage
    • Session
      • AddLogin
      • DeletePromoScreen
      • DeletePromoVideo
      • DeleteSignatureProcess
      • GetBattery
      • GetEvents
      • GetKeysFuf
      • GetKeysNotary
      • GetKeysPadCustomer
      • GetKeysRauc
      • GetKeysRootCertificate
      • GetKeysSSLCustomer
      • GetLogFile
      • GetMode
      • GetModes
      • GetScreenshot
      • GetScreenshotImage
      • GetSignatureProcess
      • GetSignatureProcessImage
      • GetSignatureProcessImageRaw
      • GetTime
      • GetTimeRaw
      • PostKeysFuf
      • PostKeysNotary
      • PostKeysPadCustomer
      • PostKeysRauc
      • PostKeysRootCertificate
      • PostKeysSSLCustomer
      • PostPromoScreen
      • PostPromoVideo
      • PostSignatureProcess
      • PutAdmin
      • PutConfig
      • PutConfigAndRetryOnFailer
      • PutMode
      • PutModes
      • PutModesButtonPress
      • PutTime
      • PutTimeAndRetryOnFailer
    • SessionEvents
      • ListenEvents
      • WaitForDocSign
      • WaitForDocView
      • WaitForEvent
    • SignatureProcessFormat
    • TaskEx
      • NoSync
      • WhenAll
    • ZeroPad
      • DeleteSession
      • GetConfig
      • GetDisplayName
      • GetInfo
      • GetIpAddress
      • GetRawConfig
      • GetRawInfo
      • PostFirmwareUpdate
      • PostLogin
      • PostLoginRaw
      • PostSession
      • PostSessionRaw
      • ToString
      • WhenAll
  • NextGenAPI.Experimental
    • Extensions
      • UpdateDocumentSigner
      • UpdateDocumentSignerSignatureWidth
      • UpdateRenderable
  • NextGenAPI.Schemas
    • AdminCommand
    • AdminMessage
      • AdminMessage
      • ToString
      • type
    • Battery
      • level
    • ButtonPress
      • action
      • type
    • Config
      • biodataSensor
      • brightness
      • connectionStatusNotifier
      • customerResourcesSearchPath
      • developmentOverlay
      • deviceName
      • display
      • frameRate
      • FromString
      • identifier
      • idProduct
      • idVendor
      • isOpen
      • LoadFromFile
      • LoadFromFileAsString
      • logLevel
      • lowVoltageAlarm
      • macAddress
      • manufacturer
      • mouseCursor
      • notaryPublicKeyIndex
      • openStateEvents
      • resourcesSearchPath
      • restApi
      • serialNumber
      • settings
      • signatureStampInfo
      • standby
      • ToString
      • type
      • version
    • Config.BiodataSensor
      • format
      • type
    • Config.ConnectionStatusNotifier
      • hostname
      • interfaces
    • Config.ConnectionStatusNotifier.Interfaces
      • address
      • name
    • Config.ConnectionStatusNotifier.Interfaces.Address
      • hardwareAddress
      • v4
      • v6
    • Config.Display
      • height
      • width
    • Config.HostName
      • name
    • Config.OneAddress
      • name
    • Config.OpenStateEvents
      • time
    • Config.RestApi
      • maxBodySize
      • port
    • Config.Settings
      • acceptedFileTypes
      • hostName
      • logFilterName
      • logins
      • networkInterfaces
      • nginx
      • padCertificate
      • usb
    • Config.Settings.AcceptedFileTypes
      • fuf
      • pdf
      • xml
    • Config.Settings.Logins
      • admin
      • gallery
      • main
      • settings
    • Config.Settings.Logins.Admin
      • password
    • Config.Settings.Logins.Gallery
      • password
    • Config.Settings.Logins.Main
      • password
    • Config.Settings.Logins.Settings
      • password
    • Config.Settings.NetworkInterfaces
      • eth0
    • Config.Settings.NetworkInterfaces.ETH0
      • manual
      • method
      • type
    • Config.Settings.NetworkInterfaces.ETH0.Manual
      • gateway
      • ipv4Address
      • subnetMask
    • Config.Settings.NGINX
      • mode
      • sslCertificate
    • Config.Settings.Usb
      • idProduct
      • idVendor
    • Config.SignatureStampInfo
    • Config.Standby
      • scene
    • Config.Standby.Scene
      • name
    • DeletePromoScreens
      • index
    • Events
      • events
      • ToString
    • Events.Event
      • action
      • name
      • status
      • ToString
      • type
    • EventsEx
      • IsCancelPress
      • IsFirmwareStatusRunning
      • IsFirmwareUpdateStatusFailed
      • IsFirmwareUpdateStatusRunning
      • IsFirmwareUpdateStatusSucceeded
      • IsPageDownPress
      • IsPageUpPress
      • IsRepeatPress
      • IsSignatureImageReadyForDownload
      • IsSignedDocumentReadyForDownload
      • IsStartCapture
      • IsStartPress
      • IsStopCapture
      • IsSwitchModeDocSign
      • IsSwitchModeDocView
      • IsSwitchModeFirmwareUpdate
      • IsSwitchModeStandby
    • Info
      • distroCodename
      • id
      • name
      • prettyName
      • ToString
      • version
      • versionId
    • KeyFuf
      • encodedHash
      • ToString
    • KeyNotary
      • info
      • publicKey
      • ToString
    • KeyPad
      • encodedEncryptedXmlCertificate
      • encodedPadCertificate
      • encodedPadPrivateKeyHash
      • ToString
    • KeyRauc
      • certificate
      • ToString
    • LogFilterName
    • Login
      • admin
      • gallery
      • main
      • settings
    • Login.Admin
      • password
    • Login.Gallery
      • password
    • Login.Main
      • password
    • Login.Settings
      • password
    • Mode
      • Mode
      • name
      • ToString
    • ModeName
    • Modes
      • modes
      • ToString
    • Modes.Mode
      • name
    • NetworkProcollSheme
    • PadFiles
      • files
      • ToString
    • PadFiles.Files
      • content
      • name
      • type
    • PostPromoScreens
      • index
      • time
    • Renderable
      • color
      • destinationRectangle
      • disabledColor
      • enabled
      • isOverlay
      • name
      • pageIndex
      • pageSpacing
      • pressedBorderColor
      • pressedColor
      • releasedColor
      • renderables
      • signature
      • signatureRectangleDecoration
      • ToString
      • type
      • visible
    • Renderable.DestinationRectangle
      • height
      • width
      • x
      • y
    • Renderable.Signature
      • color
      • width
    • Renderable.SignatureRectangleDecoration
      • background
      • border
    • Renderable.SignatureRectangleDecoration.Background
      • color
      • visible
    • Renderable.SignatureRectangleDecoration.Border
      • color
      • visible
      • width
    • RenderableEx
      • FindSubRenderable
    • Time
      • time
      • type
    • TimeConversions
      • ToDateTimeOffset
      • ToTime
  • Sig.Crypto
    • AttributesHelper
      • GetBioBlocks
      • GetBioKey
      • GetBioText
      • GetDeviceFirmwareVersion
      • GetDeviceName
      • GetDeviceSerialNumber
      • GetDeviceTime
      • GetDriverCertificate
      • GetNotaryCert
      • GetNotaryInfo
      • GetNotaryKey
      • GetOpenState
      • RetrieveNotaryCert
      • RetrieveNotaryInfo
      • RetrieveNotaryKey
      • WrapBioBlocks
      • WrapBioKey
      • WrapBioText
      • WrapDeviceFirmwareVersion
      • WrapDeviceName
      • WrapDeviceSerialNumber
      • WrapDeviceTime
      • WrapDriverCertificate
      • WrapNotaryCert
      • WrapNotaryInfo
      • WrapNotaryKey
      • WrapOpenState
    • Certificates
      • Verify
    • CmsHelper
      • Build
      • DecodeSignedCms
      • GetFirstSignerInfo
      • SignContentDigest
      • SignContentDigestWithBioBlocks
      • SignMessageDigestWithTimeStamp
    • HashAlgorithmNameToOid
      • Convert
    • ISignature
      • IsTrusted
      • IsValid
      • MessageDigest
      • SignedCms
    • OidList
      • DOT_NISTALGO_HASHALGS_SHA256
      • DOT_NISTALGO_HASHALGS_SHA384
      • DOT_NISTALGO_HASHALGS_SHA512
      • DOT_PKCS_1_SHA256_WITH_RSA_ENCRYPTION
      • DOT_PKCS_1_SHA384_WITH_RSA_ENCRYPTION
      • DOT_PKCS_1_SHA512_WITH_RSA_ENCRYPTION
      • DOT_PKCS_7_ID_DATA
      • DOT_PKCS_9_TIMESTAMPED_DATA
      • DOT_STEPOVER_DOC_BIODATA
      • DOT_STEPOVER_DOC_BIODATA_BLOCKS
      • DOT_STEPOVER_DOC_BIODATA_TEXT
      • DOT_STEPOVER_DOC_BIOKEY
      • DOT_STEPOVER_DOC_DEVICE
      • DOT_STEPOVER_DOC_DEVICE_FIRMWAREVERSION
      • DOT_STEPOVER_DOC_DEVICE_NAME
      • DOT_STEPOVER_DOC_DEVICE_OPENSTATE
      • DOT_STEPOVER_DOC_DEVICE_SERIALNUMBER
      • DOT_STEPOVER_DOC_DEVICE_TIME
      • DOT_STEPOVER_DOC_DRIVER_CERTIFICATE
      • DOT_STEPOVER_DOC_NOTARY
      • DOT_STEPOVER_DOC_NOTARY_CERT
      • DOT_STEPOVER_DOC_NOTARY_INFO
      • DOT_STEPOVER_DOC_NOTARY_KEY
      • MessageDigest
      • NISTALGO_HASHALGS_SHA256
      • NISTALGO_HASHALGS_SHA384
      • NISTALGO_HASHALGS_SHA512
      • PKCS_9_TIMESTAMPED_DATA
      • RSADSI_PKCS_PKCS_7_ID_DATA
      • STEPOVER_DOC_BIODATA_BLOCKS
      • STEPOVER_DOC_BIODATA_TEXT
      • STEPOVER_DOC_BIOKEY
      • STEPOVER_DOC_NOTARY_CERT
      • STEPOVER_DOC_NOTARY_INFO
      • STEPOVER_DOC_NOTARY_KEY
      • STEPOVER_STEPOVER_DOC_DEVICE
      • STEPOVER_STEPOVER_DOC_DEVICE_FIRMWAREVERSION
      • STEPOVER_STEPOVER_DOC_DEVICE_NAME
      • STEPOVER_STEPOVER_DOC_DEVICE_OPENSTATE
      • STEPOVER_STEPOVER_DOC_DEVICE_SERIALNUMBER
      • STEPOVER_STEPOVER_DOC_DEVICE_TIME
      • STEPOVER_STEPOVER_DOC_DRIVER_CERTIFICATE
    • OidToHashAlgorithmName
      • Convert
    • PemHelper
      • GetCertificate
      • GetRSAPrivateKey
    • Signature
      • IsTrusted
      • IsValid
      • MessageDigest
      • Of
      • Signature
      • SignedCms
    • SignedAttributes
      • AddBioBlocks
      • AddBioText
      • AddDeviceName
      • AddDeviceSerialNumber
      • AddDeviceTime
      • AddDriverCertificate
      • AddFirmwareVersion
      • AddNotaryCert
      • AddNotaryInfo
      • AddNotaryKey
      • AddOpenState
      • Get
      • GetMessageDigest
      • Implicit
      • Of
      • SignedAttributes
    • TimeStamper
      • StampFirstSignerInfo
    • TsaClient
      • RequestAsync
      • TimeStampResponse
      • TsaClient
  • Sig.Crypto.BioBlocks
    • AesMode
      • blockSize
      • cipherMode
      • Create
      • IV
      • keySize
      • paddingMode
    • BioBlock
      • BioBlock
      • LineNumber1
      • LineNumber2
      • X1
      • X2
      • Y1
      • Y2
      • Z1
      • Z2
    • BioBlockDecryptor
      • BioBlockDecryptor
      • Transform
    • BioBlockEncryptor
      • BioBlockEncryptor
      • GetPreHashEncryptedRandomNumber
      • Transform
    • BioBlockHelper
      • DecodeBioBlocks
      • EncodeBioBlocks
      • TransformBioBlocks
    • BioBlockReturn
      • Transform
    • IBioBlockTransform
      • Transform
  • Sig.Crypto.Extensions
    • ExtensionsForStructs
      • ToByteArray
      • ToStructure
  • Sig.DeviceAPI
    • Alignments
    • ButtonBar
      • ButtonBar
      • ButtonBarMode
      • Configs
    • ButtonBarMode
    • ButtonConfig
      • A
      • B
      • ButtonConfig
      • Enabled
      • FromArgb
      • G
      • Kind
      • R
      • Visible
    • ButtonEventArgs
      • ButtonEventArgs
      • ButtonKind
    • ButtonKind
    • CopyBufOption
    • CryptoId
      • Description
      • Equals
      • GetHashCode
      • PadCertLength
      • PadCertLength_bit
      • PadNotaryLength
      • PadNotaryLength_bit
      • ToString
    • DevHardware
      • currentDeviceRotation
      • DeviceKind
      • DispHeight
      • DispHeightInmm
      • DispHeightSansButtonBar
      • DispWidth
      • DispWidthInmm
      • DispWidthSansButtonBar
      • freedevicememory
      • OpenStateStatus
      • PadClockvalue
      • Serialnumber
      • TouchHeight
      • TouchWidth
    • DeviceMode
    • DevPropertyHelper
      • DevHardware
    • DisplayOrientation
    • Driver
      • ButtonEvent
      • CalibrateSensor
      • CheckConnectedDevice
      • ClearLcd
      • ConvertImageToSoi
      • ConvertSoiToImage
      • CopyFileFromDevice
      • CopyFileToDevice
      • CreateSimpleDialogText
      • DecryptAESKey
      • DecryptBiometricData
      • DeleteFileFromPad
      • DeletePalette
      • DeviceProperties
      • DeviceSearch
      • Disconnect
      • Dispose
      • Driver
      • EnumerateDevices
      • FromCommunicationType
      • GetButtonConfig
      • GetEncryptedAESKey
      • GetFileInfo
      • IsColorPad
      • IsSignFinishedEnabled
      • LoadLicense
      • LoadLicensestring
      • PenEvent
      • ReadSignatureBiometricData
      • ReadSignatureCertificate
      • ReadSignatureImage
      • ReadSignatureImageOptions
      • ReadSignatureNotaryInfo
      • ReadSignaturePublicNotaryKey
      • ReadSignatureRTC
      • ReadSignatureSignedDocumentHash
      • RealTimeDecryption
      • RemovePromoscreen
      • RenameFileOnPad
      • ResetDevice
      • ScrollEvent
      • SetButtonConfig
      • SetCertificate
      • SetContinuousScrollMode
      • SetContinuousScrollTileNumber
      • SetCustomerLogoMode
      • SetDevice
      • SetDocumentViewing
      • SetFinalDocumentHash
      • SetFinalDocumentHashAsync
      • SetFinalDocumentHashBlocking
      • SetLanguage
      • SetPalette
      • SetPreliminaryDocumentHash
      • SetSignatureRectangle
      • SetSignBackground
      • SetSignText
      • SetSimpleDialogClearDisplay
      • SetSimpleDialogMode
      • SetSimpleDialogResourceFont
      • SetSimpleDialogResourceImage
      • SignFinished
      • SignFinishedMillisecondsTimeout
      • SignHasTimedOut
      • SignImgChanged
      • SignImgChangedThrottle
      • SignStarted
      • SignTimeout
      • StartSignatureMode
      • StopSignatureCapture
      • UnlockDevice
      • UpdatePaletteColors
      • UpdateSimpleDialogDisplay
      • UploadContinuousScrollTile
      • UploadPromoScreen
    • Error
    • FilterDeviceKind
    • Hardware
      • DisplayHeight
      • DisplayHeightInmm
      • DisplayHeightSansButtonBar
      • DisplayWidth
      • DisplayWidthInmm
      • DisplayWidthSansButtonBar
      • FirmwareVersion
      • FreeRAMSize
      • ProductID
      • ProductName
      • SerialNumber
      • TouchHeight
      • TouchWidth
      • VendorID
      • VendorName
    • IConfigVariable
      • Brightness
      • Orientation
    • IDeviceProperties
      • ConfigVar
      • CryptoIDInfo
      • Features
      • Hardware
      • PadOpenState
      • Status
    • IDevicePropertiesEx
      • GetCryptoId
      • GetCryptoIds
      • GetNotaryKeys
      • GetTransPortProtocol
      • SetCryptoId
      • SetTransPortProtocol
    • IDriver
      • ButtonEvent
      • CalibrateSensor
      • CheckConnectedDevice
      • ClearLcd
      • ConvertImageToSoi
      • ConvertSoiToImage
      • CopyFileFromDevice
      • CopyFileToDevice
      • CreateSimpleDialogText
      • DecryptAESKey
      • DecryptBiometricData
      • DeleteFileFromPad
      • DeletePalette
      • DeviceProperties
      • DeviceSearch
      • EnumerateDevices
      • GetButtonConfig
      • GetEncryptedAESKey
      • GetFileInfo
      • IsColorPad
      • IsSignFinishedEnabled
      • LoadLicense
      • LoadLicensestring
      • PenEvent
      • ReadSignatureBiometricData
      • ReadSignatureCertificate
      • ReadSignatureImage
      • ReadSignatureImageOptions
      • ReadSignatureNotaryInfo
      • ReadSignaturePublicNotaryKey
      • ReadSignatureRTC
      • ReadSignatureSignedDocumentHash
      • RealTimeDecryption
      • RemovePromoscreen
      • RenameFileOnPad
      • ResetDevice
      • ScrollEvent
      • SetButtonConfig
      • SetCertificate
      • SetContinuousScrollMode
      • SetContinuousScrollTileNumber
      • SetCustomerLogoMode
      • SetDevice
      • SetDocumentViewing
      • SetFinalDocumentHash
      • SetLanguage
      • SetPalette
      • SetPreliminaryDocumentHash
      • SetSignatureRectangle
      • SetSignBackground
      • SetSignText
      • SetSimpleDialogClearDisplay
      • SetSimpleDialogMode
      • SetSimpleDialogResourceFont
      • SetSimpleDialogResourceImage
      • SignFinished
      • SignFinishedMillisecondsTimeout
      • SignImgChanged
      • SignStarted
      • StartSignatureMode
      • StopSignatureCapture
      • UnlockDevice
      • UpdatePaletteColors
      • UpdateSimpleDialogDisplay
      • UploadContinuousScrollTile
      • UploadPromoScreen
    • IFeatures
      • BrightnessChangeSupport
      • ColorDeviceSupport
      • ConfigPromoscreenDelaySupport
      • ContinuousScrollingSupport
      • EmpenSupport
      • EmpenUpdateSupport
      • EnhancedCryptoIdSupport
      • InternalCLKSupport
      • OpenStateDetectionSupport
      • PortraitModeSupport
      • SimpleDialogSupport
      • SOIFormatSupport
      • TouchConfigSupport
      • VCOMSupport
    • IHardware
      • DisplayHeight
      • DisplayHeightInmm
      • DisplayHeightSansButtonBar
      • DisplayWidth
      • DisplayWidthInmm
      • DisplayWidthSansButtonBar
      • FreeRAMSize
      • SerialNumber
      • TouchHeight
      • TouchWidth
    • IReadSignatureImageOptions
      • Alignment
      • BackgroundColor
      • LineColor
      • LineWidth
      • ResizeOptions
    • IReadSignatureImageOptionsEx
      • GetBackgroundColor
      • GetLineColor
      • SetBackgroundColor
      • SetLineColor
    • IRealTimeDecryption
      • SetKeyFromRSAParameters
      • SetKeyFromRSAPrivatePem
    • ISetCertificate
      • FromCertStore
      • FromPKCS12File
      • FromRSAParameters
      • FromRSAPrivatePem
      • Reset
    • IStatus
      • AdminKeySet
      • AesContextSet
      • BatteryState
      • Brightness
      • ClockValue
      • ConfigurationState
      • CustomerLogoNumber
      • DisplayOrientation
      • ErrorFlags
      • FinalDocHashSet
      • Mode
      • ModeErrorStatus
      • OpenState
      • PadLocked
      • PreDocHashSet
      • RotationButtonVisible
      • RsaSignStatus
      • SwitchState
      • UserScriptExecutionState
    • Language
    • PadFileInfo
      • Name
      • PadFileInfo
      • Size
    • PenEventArgs
      • PenEventArgs
      • PenEventType
      • X
      • Y
    • PenEventType
    • ResetStrategy
    • ResizeOptions
    • ScrollEventArgs
      • IsPageNumber
      • RequestedNumber
    • SelectBuf
    • SelectBufClearOption
    • SetFinalDocHashResult
      • ButtonClicked
      • ButtonKind
      • Error
    • SignMode
    • SignRectOption
    • SignRectScrollCorrect
    • SimpleDialogFileLoadOptions
  • Sig.DeviceAPI.Helper
    • DisplayHelper
      • GetDisplaySize
      • GetDisplaySizeSansBar
      • GetPixelSize
    • DriverInfo
      • GetDriverCert
      • MayDemoStamp
    • HardwareInfo
      • Retrieve
  • Sig.DeviceCom
    • CommunicationType
  • Sig.DeviceCom.Remote
    • StateObject
      • buffer
      • BufferSize
      • FullPacketbuffer
      • sb
      • workSocket
  • Sig.PdfClient
    • AcroForm
      • Fields
    • ButtonField
    • CheckBox
      • CheckAsync
      • IsChecked
      • UnCheckAsync
    • ChoiceField
      • Choices
      • DisplayValues
      • DoNotSpellCheck
      • IsCommitOnSetChange
      • IsMultiSelect
      • IsSort
      • Selection
      • SetSelectionAsync
      • TextAppearance
    • ClientFactory
      • BuildDefault
      • BuildDefaultAsync
    • ComboBox
    • Field
      • FieldType
      • IsReadOnly
      • Name
      • Position
      • SetReadOnlyAsync
    • FieldPosition
      • Column0
      • Column1
      • FieldPosition
      • Height
      • PageHeight
      • PageNumber
      • PageWidth
      • Row0
      • Row1
      • Width
    • Font
    • IAcroForm
      • Fields
    • IClient
      • AddSignatureField
      • AddSignatureFieldAsync
      • DownloadPdfAsync
      • DrawImageAsync
      • FindText
      • FindTextAsync
      • GetAcroForm
      • GetAcroFormAsync
      • GetNumberOfPages
      • GetNumberOfPagesAsync
      • GetPagesAsync
      • LoadPdfAsync
      • RenderPageAsync
      • TerminateService
      • TerminateServiceAsync
    • IClientEx
      • DrawImageFromOctets
      • ExtractText
      • Print
      • PrintPath
      • PrintServices
      • RenderPageToOctets
    • IField
      • FieldType
      • IsReadOnly
      • Name
      • Position
      • SetReadOnlyAsync
    • IFieldPosition
      • Column0
      • Column1
      • Height
      • Row0
      • Row1
      • Width
    • IPageDimension
      • Height
      • PageNumber
      • Width
    • ITextAppearance
      • Blue
      • Font
      • FontSize
      • Gray
      • Green
      • IsGray
      • Red
    • ListBox
    • PrintArgs
      • Default
      • DocPath
      • PrintService
      • WithoutDialog
    • PushButton
    • RadioButton
      • Choices
      • IsOff
      • Positions
      • Selection
      • SelectOneAsync
      • SetSelectionAsync
    • SignatureField
      • ContentDigest
      • GetSignatureAsync
      • PrepareSignatureAsync
      • SignatureInfo
      • SignDetachedAsync
    • SignatureInfo
      • ContactInfo
      • GetTime
      • Location
      • Name
      • Reason
      • SignatureInfo
    • Text
      • Invalid
      • Pages
      • ToString
    • TextArgs
      • Default
      • End
      • SortByPosition
      • Start
    • TextField
      • DoNotScroll
      • DoNotSpellCheck
      • IsFileSelect
      • IsMultiLine
      • IsPassword
      • MaxLen
      • SetTextAsync
      • Text
      • TextAppearance
  • Sig.SignAPI
    • Behaviour
      • Click
      • DoDigestAction
      • DoHardwareSign
      • GetDefault
      • SetImageQualityFactor
      • SetSignatureImage
      • SignInDocument
      • Stamp
      • StampWithColor
      • StampWithDefaults
      • StampWithFontFamily
      • StampWithFontSize
      • StampWithTextBuilder
      • UseRectangle
      • UseTSA
    • DigSig
      • FieldName
      • Found
      • Location
      • Mandatory
      • Reason
      • SignatureDisplayPlacement
      • Signed
      • Signer
      • Stamp
      • Zoom
    • ESign
      • AutoStartSig
      • PDF
      • Signatures
    • EventQueue
      • GetEvents
    • Id
      • Index
      • Value
    • ISigning
      • Client
      • Driver
      • GetSignedXml
      • SignAsync
      • SigningUpdateEvent
      • ViewDocumentAsync
    • License
      • CheckParentSoftware
      • Set
      • SetCustomerkey
    • Rectangle
      • FromBottomLeft
      • FromBottomRight
      • FromTopLeft
      • FromTopRight
      • Standard
    • Signature
      • Background
      • DisplacementTLIndex
      • FeldPositionIndex
      • FilterCount
      • FilterPage
      • Found
      • Height
      • Location
      • Mandatory
      • Offset_X
      • Offset_Y
      • Placeholder
      • Reason
      • RectPosX
      • RectPosY
      • SignatureDisplayPlacement
      • Signed
      • SignedProtocol
      • Signer
      • Stamp
      • Width
      • Zoom
    • SignatureDisplayPlacements
      • MaxHeight
      • MaxWidth
      • RectPosX
      • RectPosY
    • Signatures
      • DigSig
      • Placeholder
      • Static
    • SignedProtocol
      • Id
    • SigningFactory
      • Start
      • StartAsync
    • StaticSignature
      • Found
      • Height
      • Location
      • Mandatory
      • Page
      • Reason
      • RectPosX
      • RectPosY
      • SignatureDisplayPlacement
      • Signed
      • Signer
      • Stamp
      • Width
      • X
      • Y
      • Zoom
    • XmlSigningEventArgs
      • signedSignatures
      • skippedSignatures
      • totalDigSignatures
      • totalPlaceholderSignatures
      • totalSignatures
      • totalStaticSignatures
      • xmlStringWithoutPdf
      • xmlStringWithoutPdfSize
    • XStamp
      • Color
      • Font
      • Size
      • Text
  • Sig.SignAPI.Dialog
    • ComponentType
    • Controller
      • AddCustomButton
      • AddKeyboard
      • Create
      • DeleteCustomButton
      • DeleteKeyboard
      • DialogEvents
      • DisableFormFields
      • Dispose
      • MessageBox
      • Of
      • Properties
      • Save
    • CustomButtonNo
    • DialogArgs
      • ComponentName
      • ComponentType
      • PageNo
      • SceneName
    • NumberOfMessageBoxButtons
    • Properties
      • AvailableDefaultKeyboards
      • BottomMargin
      • CheckBoxColor
      • CheckBoxColorArgb32
      • DefaultCapsKeyBoard
      • DefaultKeyboard
      • DefaultSymbolsAndNumbersKeyBoard
      • DefaultTextCapture
      • EnableSaveButton
      • EnableStartSignButton
      • GetDefault
      • LeftMargin
      • RadioButtonColor
      • RadioButtonColorArgb32
      • RightMargin
      • ScrollButtonBackgroundColor
      • ScrollButtonBackgroundColorArgb32
      • ScrollButtonBackgroundPressedColor
      • ScrollButtonBackgroundPressedColorArgb32
      • ScrollButtonIconColor
      • ScrollButtonIconColorArgb32
      • ScrollValue
      • SignatureFieldColor
      • SignatureFieldFieldColorArgb32
      • TextFieldColor
      • TextFieldColorArgb32
      • TopMargin
    • TextCapture
  • Sig.SignAPI.DocSign
    • Rectangle
      • FromBottomLeft
      • FromBottomRight
      • FromTopLeft
      • FromTopRight
      • WithBorderColor
      • WithBorderWidth
      • WithColor
  • Sig.SignAPI.Stamp
    • DefaultTextBuilder
      • Get
    • TextBuilder
  • Sig.SignAPI.Utils
    • BitmapExtension
      • ToSKBitmap
      • ToSKImage
    • ImageExtension
      • ToSKBitmap
      • ToSKImage
  • Sig.SignAPI.Zoom
    • Level

Method SetContinuousScrollMode

SetContinuousScrollMode(Int32, Int32, Int32, Int32, String, Int32, Int32)

Sets the device to the continuous scroll mode.

Declaration
Error SetContinuousScrollMode(int numberOfPages, int numberOfTiles, int startTileNumber, int startTileOffset, string buttonText, int tileWidth, int tileHeight = 702)
Parameters
Type Name Description
System.Int32 numberOfPages

The number of pages of the document.

System.Int32 numberOfTiles

The number of tiles the document is to be split up into.

System.Int32 startTileNumber

This tile number is requested first.

System.Int32 startTileOffset

Scrolls the first tile down.

System.String buttonText

The text inside the button.

System.Int32 tileWidth

The width of a tile /pixels. Recommended width: 992.

System.Int32 tileHeight

The height of a tile /pixels. Recommended height: 702.

Returns
Type Description
Error

Error

Remarks

The continuous scroll mode is used for viewing multipage documents split up into several tiles. These tiles form a vertical stack of the document that can be scrolled with the pen.

When started, the device is requesting tiles through the ScrollEvent.

The device will never request for tile numbers bigger than the total numberOfTiles.

When one is scrolling fast the device is asking for a tile that corresponds to a page number. Then IsPageNumber is true and you have to determine the corresponding tile number for that page number and set it with

SetContinuousScrollTileNumber(Int32, Int32, Int32).

These tile requests have to be fulfilled by uploading tiles by means of

UploadContinuousScrollTile(Bitmap, Int32, Int32, Int32)

The mode has one button labeled with the buttonText. Clicking it triggers a ButtonEvent while the device shows an hourglass and waits for further commands.

Whether a device supports the continuous scroll feature can be queried with DeviceProperties.IFeatures.ContinuousScrollingSupport.

Examples

The following example initiates the continuous scroll mode with dynamically created tiles which have numbers written in them. The example assumes that each page of the document is composed of two tiles. The button is used for stopping the demonstration.

C#

int numberOfPages = 32;
int numberOfTiles = 2 * numberOfPages;
int startTileNumber = 7;
int width = 992; //recommended
int height = 702; //recommended
int startTileOffset = height / 2;

bool running = true;
driver.ButtonEvent += (object sender, ButtonEventArgs e) =>
{
    driver.SetCustomerLogoMode();
    running = false;
};
driver.ScrollEvent += (object sender, ScrollEventArgs e) =>
{
    int pageNumber, tileNumber;
    if (e.IsPageNumber)
    {
        pageNumber = e.RequestedNumber;
        tileNumber = 2 * pageNumber;
        driver.SetContinuousScrollTileNumber(tileNumber, numberOfTiles, 0);
        return;
    }
    else
    {
        tileNumber = e.RequestedNumber;
        pageNumber = (tileNumber + tileNumber % 2) / 2;
    }

    Bitmap bitmap = GetTile(tileNumber, width, height);
    driver.UploadContinuousScrollTile(bitmap, tileNumber, pageNumber, numberOfTiles);
};

Error error = driver.SetContinuousScrollMode(numberOfPages, numberOfTiles,
    startTileNumber, startTileOffset, "Click to exit.", width);

while (running)
{
    Thread.Sleep(500);
}


Bitmap GetTile(int tileNumber, int width, int height)
{
    int magicHeight = 702;
    float emSize = 16.0f;
    Rectangle box = new Rectangle(0, 0, width, height);
    Bitmap bitmap = new Bitmap(box.Width, box.Height);
    using Graphics g = Graphics.FromImage(bitmap);
    g.Clear(Color.White);
    g.DrawString($"Tile {tileNumber}.",
        new Font(FontFamily.GenericSansSerif, emSize, FontStyle.Regular),
        Brushes.Black, new PointF(width / 2, height / 2));
    g.DrawRectangle(new Pen(Brushes.Blue, emSize), box);
    g.DrawLine(new Pen(Brushes.Red, emSize), 0, magicHeight, width, magicHeight);
    return bitmap;
}

A similar program in

VB.NET

Dim running As Boolean = True
Dim numberOfPages As Integer = 32
Dim numberOfTiles As Integer = 2 * numberOfPages
Dim startTileNumber As Integer = 7
Dim width As Integer = 992 'recommended
Dim height As Integer = 702 'recommended

Sub ScrollThroughNumberedTiles()
    Dim r As Sig.DeviceAPI.Error
    Dim startTileOffset As Integer = height / 2
    r = driver.SetContinuousScrollMode(numberOfPages, numberOfTiles,
        startTileNumber, startTileOffset, "Click to exit.", width)
    While (running)
        Thread.Sleep(500)
    End While
End Sub

Sub HandleScrollEvent(sender As Object, e As ScrollEventArgs) Handles driver.ScrollEvent
    Dim pageNumber, tileNumber As Integer
    If (e.IsPageNumber) Then

        pageNumber = e.RequestedNumber
        tileNumber = 2 * pageNumber
        driver.SetContinuousScrollTileNumber(tileNumber, numberOfTiles, 0)
        Return
    Else
        tileNumber = e.RequestedNumber
        pageNumber = (tileNumber + tileNumber Mod 2) / 2
    End If
    driver.UploadContinuousScrollTile(GetTile(tileNumber, width, height), tileNumber, pageNumber, numberOfTiles)
End Sub

Sub HandleButtonEvent(sender As Object, e As ButtonEventArgs) Handles driver.ButtonEvent
    driver.SetCustomerLogoMode()
    running = False
End Sub

Function GetTile(tileNumber As Integer, width As Integer, height As Integer) As Bitmap
    Dim magicHeight As Integer = 702
    Dim emSize As Single = 16.0F
    Dim box As Rectangle = New Rectangle(0, 0, width, height)
    Dim bitmap As Bitmap = New Bitmap(box.Width, box.Height)
    Using g As Graphics = Graphics.FromImage(bitmap)
        g.Clear(Color.White)
        g.DrawString($"Tile {tileNumber}.",
            New Font(FontFamily.GenericSansSerif, emSize, FontStyle.Regular),
            Brushes.Black, New PointF(width / 2, height / 2))
        g.DrawRectangle(New Pen(Brushes.Blue, emSize), box)
        g.DrawLine(New Pen(Brushes.Red, emSize), 0, magicHeight, width, magicHeight)
        Return bitmap
    End Using
End Function
Back to top Generated by DocFX