Changes from Version 9.0 to Version 10

The product line in Version 10 has been redesigned. If you are an existing LEADTOOLS customer, please take a moment to familiarize yourself with the new line of products and the new features:

Version 10 of the LEADTOOLS C API has changed from version 9.0 as follows:

Changed functions

The following functions have changed from the previous version of LEADTOOLS:

Changed structures

The following structures have been changed to support new features:

New error messages

The following constants for error messages have been added:

New constant Descriptions
ERROR_JBIG_NOT_ENABLED JBIG capability required to use this function
ERROR_PAGE_NOT_FOUND Page not found.
ERROR_DELETE_LAST_PAGE You cannot delete a page from a file having only one page.
ERROR_PANWINDOW_NOT_CREATED PanWindow was not created.
ERROR_NO_HOTKEY There is no hotkey
ERROR_CANNOT_CREATE_HOTKEY_WINDOW Error creating the hotkey window
ERROR_MEDICAL_NOT_ENABLED Medical Express capability is required to use this function
ERROR_CAPTURE_STILL_IN_PROCESS capture is still in progress
ERROR_INVALID_DELAY the user passed an invalid delay value
ERROR_INVALID_COUNT the user passed an invalid capture count
ERROR_INVALID_INTERVAL the user passed an invalid interval value
ERROR_HOTKEY_CONFILCTS_WITH_CANCELKEY the user specified the hotkey to be the same as the cancel key
ERROR_CAPTURE_INVALID_AREA_TYPE wrong area type passed to L_CaptureArea()
ERROR_CAPTURE_NO_OPTION_STRUCTURE invalid options structure pointer
ERROR_CAPTURE_INVALID_FILL_PATTERN invalid fill pattern
ERROR_CAPTURE_INVALID_LINE_STYLE invalid line style
ERROR_CAPTURE_INVALID_INFOWND_POS invalid position for the info window
ERROR_CAPTURE_INVALID_INFOWND_SIZE invalid size for the info window
ERROR_CAPTURE_ZERO_AREA_SIZE capture area is equal to zero
ERROR_CAPTURE_FILE_ACCESS_FAILED The specified filename couldn't be read
ERROR_CAPTURE_INVALID_32BIT_EXE_OR_DLL The specified filename is not a valid 32bit EXE/DLL
ERROR_CAPTURE_INVALID_RESOURCE_TYPE The specified resource type is not supported
ERROR_CAPTURE_INVALID_RESOURCE_INDEX The index resource is out of range
ERROR_CAPTURE_NO_ACTIVE_WINDOW no active window
ERROR_CAPTURE_CANNOT_CAPTURE_WINDOW cannot capture window
ERROR_CAPTURE_STRING_ID_NOT_DEFINED undefined string ID
ERROR_CAPTURE_DELAY_LESS_THAN_ZERO delay must be at least zero
ERROR_CAPTURE_NO_MENU no menu to capture

The rest of this topic lists the new functions in version 10.

JBIG Support

L_GetSaveResolution

L_SetSaveResolution

Imaging Common Dialogs:

L_DlgGetEffect

L_DlgGetGradient

L_DlgGetShape

L_DlgGetText

L_DlgGetTransition

L_DlgGetDirectory

PanWindow:

L_CreatePanWindow

L_DestroyPanWindow

L_UpdatePanWindow

PANWNDCALLBACK

Screen Capture:

L_CaptureActiveClient (refer to Ltscrdlln.chm)

L_CaptureActiveWindow (refer to Ltscrdlln.chm)

L_CaptureArea (refer to Ltscrdlln.chm)

L_CaptureAreaOptionDlg (refer to Ltscrdlln.chm)

L_CaptureFromEXE (refer to Ltscrdlln.chm)

L_CaptureFromEXEDlg (refer to Ltscrdlln.chm)

L_CaptureFullScreen (refer to Ltscrdlln.chm)

L_CaptureGetResCount (refer to Ltscrdlln.chm)

L_CaptureMenuUnderCursor (refer to Ltscrdlln.chm)

L_CaptureMouseCursor (refer to Ltscrdlln.chm)

L_CaptureSelectedObject (refer to Ltscrdlln.chm)

L_CaptureSetHotKeyCallback (refer to Ltscrdlln.chm)

L_CaptureWallPaper (refer to Ltscrdlln.chm)

L_CaptureWindowUnderCursor (refer to Ltscrdlln.chm)

L_GetCaptureOption (refer to Ltscrdlln.chm)

L_GetDefaultAreaOption (refer to Ltscrdlln.chm)

L_GetDefaultObjectOption (refer to Ltscrdlln.chm)

L_IsCaptureActive (refer to Ltscrdlln.chm)

L_SetCaptureOption (refer to Ltscrdlln.chm)

L_SetCaptureOptionDlg (refer to Ltscrdlln.chm)

L_StopCapture (refer to Ltscrdlln.chm)

LEADCAPTUREOPTION (refer to Ltscrdlln.chm)

LEADCAPTUREINFO (refer to Ltscrdlln.chm)

LEADCAPTUREAREAOPTION (refer to Ltscrdlln.chm)

LEADCAPTUREOBJECTOPTION (refer to Ltscrdlln.chm)

CAPTURECALLBACK Function (refer to Ltscrdlln.chm)

CAPTUREHOTKEYCALLBACK Function (refer to Ltscrdlln.chm)

Miscellaneous:

L_DeletePage

L_PicturizeBitmap

L_ISISSetScanOptions

L_SaveFileMemory

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help