Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3    Statistic    FMM    Blog  

DocumentCameraScan.PageCount

Queries page count.

Component Version macOS Windows Linux Server iOS SDK
DocumentCameraScan 10.0 ❌ No ❌ No ❌ No ❌ No ✅ Yes
MBS( "DocumentCameraScan.PageCount" )

Parameters

none

Result

Returns number or error.

Description

Queries page count.

Examples

Import scan result:

Set Variable [ $count ; Value: MBS( "DocumentCameraScan.PageCount" ) ]
If [ $count > 0 ]
    Set Variable [ $index ; Value: 0 ]
    Loop
        # store image
        New Record/Request
        Set Field [ Contacts::Video ; MBS( "DocumentCameraScan.PageImage"; $Index; "PNG"; "test.png") ]
        Commit Records/Requests [ With dialog: On ]
        # next
        Set Variable [ $index ; Value: $index + 1 ]
        Exit Loop If [ $index ≥ $count ]
    End Loop
End If

See also

Example Databases

Blog Entries

This function does not need a paid license.

Created 6th January 2020, last changed 6th January 2020


DocumentCameraScan.IsInitialized - DocumentCameraScan.PageImage

💬 Ask a question or report a problem


Start Chat