ImageExtractor MethodsByteScout PDF Extractor SDK

The ImageExtractor type exposes the following members.

Methods

  NameDescription
Public methodCreateProfile(String, Boolean) (Inherited from BaseExtractor.)
Public methodCreateProfile(String, String, Boolean) (Inherited from BaseExtractor.)
Public methodDispose
Releases the unmanaged resources used by the instance and optionally releases the managed resources.
(Inherited from BaseExtractor.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Protected methodFireParsingError (Inherited from BaseExtractor.)
Protected methodFireProgressChanged (Inherited from BaseExtractor.)
Public methodGetCurrentImageAsArrayOfBytes
Returns current image as array of bytes in BMP format.
Public methodGetCurrentImageAsArrayOfBytes(ImageFormat)
Returns current image as array of bytes in specified format.
Public methodGetCurrentImageBytesSize
Returns size of current image in BMP format.
Public methodGetCurrentImageBytesSize(ImageFormat)
Returns size of current image in specified format.
Public methodGetCurrentImageRectangle
Returns coordinates of the bounding rectangle of the image
Public methodGetCurrentImageRectangle_Height
Returns height of the current image image
Public methodGetCurrentImageRectangle_Left
Returns left coordinate of the current image image
Public methodGetCurrentImageRectangle_Top
Returns top coordinate of the current image image
Public methodGetCurrentImageRectangle_Width
Returns width of the current image image
Public methodGetDocumentImageCount
Returns count of images in the document.
Public methodGetFirstImage
Initializes enumeration of images in the document. If GetFirstImage() returned true, you can get the image using SaveCurrentImage*() or GetCurrentImage*() methods.
Public methodGetFirstPageImage
Initializes enumeration of images on the document page. If GetFirstPageImage() returned true, you can get the image using SaveCurrentImage*() or GetCurrentImage*() methods. Call GetNextImage() to advance the enumeration.
Public methodGetHashCode (Inherited from Object.)
Public methodGetNextImage
Advances image enumeration to next image. If GetNextImage() returned true, you can get the image using SaveCurrentImage*() or GetCurrentImage*() methods.
Public methodGetPageCount
Returns document page count.
(Inherited from BaseExtractor.)
Public methodGetPageImageCount
Returns count of images on specified document page.
Public methodGetPageRect_Height
Gets the specified page height.
(Inherited from BaseExtractor.)
Public methodGetPageRect_Left
Gets the specified page left coordinate.
(Inherited from BaseExtractor.)
Public methodGetPageRect_Top
Gets the specified page top coordinate.
(Inherited from BaseExtractor.)
Public methodGetPageRect_Width
Gets the specified page width.
(Inherited from BaseExtractor.)
Public methodGetPageRectangle(Int32)
Gets the page rectangle in PDF Points (1 Point = 1/72 in.).
(Inherited from BaseExtractor.)
Public methodGetPageRectangle(Int32, Boolean)
Gets the page rectangle in PDF Points (1 Point = 1/72 in.).
(Inherited from BaseExtractor.)
Public methodGetPageRotationAngle
Returns the rotation angle of specified page.
(Inherited from BaseExtractor.)
Public methodGetType (Inherited from Object.)
Public methodIsEncrypted
Gets the document encrypted state.
(Inherited from BaseExtractor.)
Public methodLoadAndApplyProfiles
Loads profiles from JSON string and automatically applies them. Note that profiles containing detection keywords will be deferred until the extraction.
(Inherited from BaseExtractor.)
Public methodLoadDocumentFromFile
Loads PDF document from specified file.
(Inherited from BaseExtractor.)
Public methodLoadDocumentFromStream
Loads PDF document from provided stream.
(Inherited from BaseExtractor.)
Public methodLoadProfiles
Loads profiles from JSON file.
(Inherited from BaseExtractor.)
Public methodLoadProfilesFromString
Loads profiles from JSON string.
(Inherited from BaseExtractor.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReset
Resets the ImageExtractor instance and disposes internal resources.
(Overrides BaseExtractorReset.)
Public methodResetExtractionArea
Resets the extraction area to full page.
(Overrides BaseExtractorResetExtractionArea.)
Public methodSaveCurrentImageToFile(String)
Saves current image to PNG file with specified name.
Public methodSaveCurrentImageToFile(String, ImageFormat)
Saves current image to a file with specified name and format.
Public methodSaveCurrentImageToStream(Stream)
Saves current image to provided stream in PNG format.
Public methodSaveCurrentImageToStream(Stream, ImageFormat)
Saves current image to the stream with specified format.
Public methodSetExtractionArea(RectangleF)
Sets the extraction area by rectangle.
(Overrides BaseExtractorSetExtractionArea(RectangleF).)
Public methodSetExtractionArea(Double, Double, Double, Double)
Sets the extraction area by coordinates and dimensions.
(Inherited from BaseExtractor.)
Public methodSetExtractionArea(Single, Single, Single, Single)
Sets the extraction area by coordinates and dimensions.
(Overrides BaseExtractorSetExtractionArea(Single, Single, Single, Single).)
Public methodToString (Inherited from Object.)
Top
See Also

Reference