Jump to main content
  Brainware Intelligent Capture Scripting
Brainware Intelligent Capture Scripting
 Foundation 23.1
  • Documentation Notice
  • About Scripting
  • ScriptModule Events
  • Cedar DocClass Event Interface
  • Cedar [FieldName] Event Interface
  • Working with Workdoc Objects (SCBCdrWKDOCLib)
  • SCBCdrPROJLib
  • Working with the Associative Search Engine (CDRADSLib)
  • Working with the Check Analysis Engine (SCBCdrParaCheckLib)
  • Working with the Format Analysis Engine (SCBCdrFormatEngine)
  • Working with Format Settings (SCBCdrFormatSettings)
  • Working with Batches (SCBCdrBATCHLib)
  • Comparing Strings (SCBCdrSTRCOMPLib)
  • Working with Images (SCBCroIMGLib)
  • Working with CI Documents (SCBCroCiDocLib)
  • Working with Cairo Projects (SCBCroPROJLib)
  • Working with Collections (SCBCroCollLib)
  • Working with Worktext Objects (SCBCroWorktextLib)
  • Working with Verification Forms (DISTILLERVERIFIERCOMPLib)
  • Printing Documents (SCBCroPrintLib)
  • Error Handling
  • Troubleshooting Scripting Issues
  • Encryption
  1. Home
  2. Working with Images (SCBCroIMGLib)
  3. Image Object SCBCroImage

    The component SCBCroImage provides methods and properties to load, modify, and save image files.

  4. SCBCroImage Methods

    This object provides the following methods.

  • Documentation Notice
  • About Scripting
  • ScriptModule Events
  • Cedar DocClass Event Interface
  • Cedar [FieldName] Event Interface
  • Working with Workdoc Objects (SCBCdrWKDOCLib)
  • SCBCdrPROJLib
  • Working with the Associative Search Engine (CDRADSLib)
  • Working with the Check Analysis Engine (SCBCdrParaCheckLib)
  • Working with the Format Analysis Engine (SCBCdrFormatEngine)
  • Working with Format Settings (SCBCdrFormatSettings)
  • Working with Batches (SCBCdrBATCHLib)
  • Comparing Strings (SCBCdrSTRCOMPLib)
  • Working with Images (SCBCroIMGLib)
    • SCBCroIMGLib Type Definitions

      The SCBCroImage object provides the following type definitions.

    • Image Object SCBCroImage

      The component SCBCroImage provides methods and properties to load, modify, and save image files.

      • SCBCroImage Methods

        This object provides the following methods.

        • AppendToMultiImageFile

          This method appends the current image to the specified file. Use this method to create and save multi-Tiff or other multi-image files.

        • ChangePixelDepth

          This method changes the number of bits per pixel of the currently loaded image.

        • Clear

          This method frees all resources of the currently allocated images and deinitializes the object.

        • Copy

          This method creates a copy of the currently allocated image within the TargetImage object instance and frees all previously allocated resources of TargetImage.

        • CopyToClipboard

          This method copies the current SCBCroImage object to the clipboard.

        • Create

          This method allocates memory for a new image with the specified size and properties.

        • DetectSkew

          This method calculates the skew of the current image.

        • FillRectangle

          This method fills the rectangle with the specified color.

        • Insert

          This method copies the specified part of the image to TargetImage. TargetImage is not resized and all image information outside the specified rectangle is not changed.

        • LoadCompleted

          This method checks if a pending load operation has already completed or waits until a pending load operation has completed.

        • LoadFile

          This method loads an image in synchronous mode.

        • LoadMultiImageFile

          This method loads an image from a multi-image file.

        • Move

          This method changes the value of the x and y offset of the image. The internal image format is not changed.

        • Rotate

          This method rotates the image with the specified angle.

        • SaveCompleted

          This method checks if a pending save operation has already completed or waits until a pending save operation has completed.

        • SaveFile

          This method saves an image with the specified name and file type.

        • ScaleImage

          This method resizes an existing image.

        • TiffAppendFile

          This method appends the specified TIFF file to the one to which the image object currently references.

        • TiffTagAddASCII

          This method adds a new TIFF tag to the image object.

        • TiffTagAddDouble

          This method adds a new TIFF tag of type double to the image object.

        • TiffTagAddLong

          This method adds a new TIFF tag of type long to the image object.

        • TiffTagAddRational

          This method adds a new TIFF tag of type rational to the image object.

        • TiffTagAddVariant

          This method adds a new TIFF tag of type variant to the image object.

        • TiffTagClearAll

          This method removes all TIFF tags defined for the currently loaded image.

        • TiffTagDelete

          This method removes the TIFF tag from the tag list specified by the index of the currently loaded image.

      • SCBCroImage Properties

        This object provides the following properties.

      • Sample Code

        The following sample code shows the usage of some SCBCroImage features, such as LoadFile, DetectSkew, Rotate, and SaveFile. The results are displayed with SCBCroViewer.

    • Viewer Object SCBCroViewer

      The component SCBCroViewer provides methods and properties to display various objects, such as images, text documents, annotations, or OCR and scanning results.

  • Working with CI Documents (SCBCroCiDocLib)
  • Working with Cairo Projects (SCBCroPROJLib)
  • Working with Collections (SCBCroCollLib)
  • Working with Worktext Objects (SCBCroWorktextLib)
  • Working with Verification Forms (DISTILLERVERIFIERCOMPLib)
  • Printing Documents (SCBCroPrintLib)
  • Error Handling
  • Troubleshooting Scripting Issues
  • Encryption

SCBCroImage Methods

This object provides the following methods.

  • AppendToMultiImageFile
  • ChangePixelDepth
  • Clear
  • Copy
  • CopyToClipboard
  • Create
  • DetectSkew
  • FillRectangle
  • Insert
  • LoadCompleted
  • LoadFile
  • LoadMultiImageFile
  • Move
  • Rotate
  • SaveCompleted
  • SaveFile
  • ScaleImage
  • TiffAppendFile
  • TiffTagAddASCII
  • TiffTagAddDouble
  • TiffTagAddLong
  • TiffTagAddRational
  • TiffTagAddVariant
  • TiffTagClearAll
  • TiffTagDelete
footer © Hyland Software, Inc. and its affiliates. All rights reserved.