PdfImagesExtractor Class

This class encapsulates the PDF Images Extractor functionality and allows you to extract the images from a PDF document

Definition

Namespace: EvoPdfClient
Assembly: EvoPdfClient (in EvoPdfClient.dll) Version: 11.0.0.0 (11.0.0.0)
C#
public class PdfImagesExtractor
Inheritance
Object    PdfImagesExtractor

Constructors

PdfImagesExtractor Constructs a PDF Images Extractor which will connect to localhost on the default port
PdfImagesExtractor(String) Constructs a PDF Images Extractor which will connect to the server specified by IP or by name on the default port
PdfImagesExtractor(Boolean, String) Constructs a PDF Images Extractor which will connect to a web service URL
PdfImagesExtractor(String, UInt32) Constructs a PDF Images Extractor which will connect to the server specified by IP or by name on the specified port

Properties

ClientProxy You can set this property with an object implementing the IWebProxy interface to be used when accessing the server through a proxy server. This property does not have any effect when using a TCP Service
ImpersonationOptions The impersonation options used during tool execution
LicenseKey Gets or sets the license key string received from vendor. If this property is null the tool will automatically enter in evaluation mode
OwnerPassword The owner password to be used to open a password protected PDF document
PdfDocumentInfo Gets the object encapsulating the PDF document properties. This objects is populated after tool execution finished
PdfToolFullPath Sets the full path of the .dat helper file. By default this file is expected to be found in the same folder with .dll assembly.
Port The server port number
RunTimeoutSec The maximum time allowed for this tool to run
Server The server IP or name
ServicePassword Gets or sets the HTML to PDF converter service password. You have to set this property if the HTML to PDF service is password protected.
TransparencyEnabled A flag indicating if the transparency is enabled in the extracted images. The default value is true
UserPassword The user password to be used to open a password protected PDF document
UseWebService A flag indicating if the client library will call the Web service or the TCP service to perform the operation
WebServiceUrl The web service URL

Methods

EqualsDetermines whether the specified Object is equal to the current Object.
(Inherited from Object)
ExtractImages(Byte) Extract the images from all the pages in a PDF document to image objects
ExtractImages(Stream) Extract the images from all the pages of PDF document in a stream to image objects
ExtractImages(String) Extract the images from all the pages of a PDF file to image objects
ExtractImages(Byte, Int32) Extract the images from the pages of a PDF document to image objects starting from a given PDF page number to the end of the PDF document
ExtractImages(Stream, Int32) Extract the images from the pages of a PDF document in a stream to image objects starting from a given PDF page number to the end of the PDF document
ExtractImages(String, Int32) Extract the images from the pages of a PDF file to image objects starting from a given PDF page number to the end of the PDF document
ExtractImages(Byte, Int32, Int32) Extract the images from a range of pages of a PDF document to image objects
ExtractImages(Stream, Int32, Int32) Extract the images from a range of pages of a PDF document in a stream to image objects
ExtractImages(String, Int32, Int32) Extract the images from a range of pages of a PDF file to image objects
ExtractImagesInEvent(Byte) Extract the images from all the pages in a PDF document to image objects and raises the ImageExtractedEvent event immediately after an image was extracted from a PDF page. The event handler argument contains a reference to extracted image object. You are responsible for disposing the extracted image object by calling its Dispose method when it is not needed anymore
ExtractImagesInEvent(Stream) Extract the images from all the pages of PDF document in a stream to image objects and raises the ImageExtractedEvent event immediately after an image was extracted from a PDF page. The event handler argument contains a reference to extracted image object. You are responsible for disposing the extracted image object by calling its Dispose method when it is not needed anymore
ExtractImagesInEvent(String) Extract the images from all the pages of a PDF file to image objects and raises the ImageExtractedEvent event immediately after an image was extracted from a PDF page. The event handler argument contains a reference to extracted image object. You are responsible for disposing the extracted image object by calling its Dispose method when it is not needed anymore
ExtractImagesInEvent(Byte, Int32) Extract the images from pages of a PDF document to image objects starting from a given PDF page number to the end of the PDF document and raises the ImageExtractedEvent event immediately after an image was extracted from a PDF page. The event handler argument contains a reference to extracted image object. You are responsible for disposing the extracted image object by calling its Dispose method when it is not needed anymore
ExtractImagesInEvent(Stream, Int32) Extract the images from pages of a PDF document in a stream to image objects starting from a given PDF page number to the end of the PDF document and raises the ImageExtractedEvent event immediately after an image was extracted from a PDF page. The event handler argument contains a reference to extracted image object. You are responsible for disposing the extracted image object by calling its Dispose method when it is not needed anymore
ExtractImagesInEvent(String, Int32) Extract the images from pages of a PDF file to image objects starting from a given PDF page number to the end of the PDF document and raises the ImageExtractedEvent event immediately after an image was extracted from a PDF page. The event handler argument contains a reference to extracted image object. You are responsible for disposing the extracted image object by calling its Dispose method when it is not needed anymore
ExtractImagesInEvent(Byte, Int32, Int32) Extract the images from a range of pages of a PDF document to image objects and raises the ImageExtractedEvent event immediately after an image was extracted from a PDF page. The event handler argument contains a reference to extracted image object. You are responsible for disposing the extracted image object by calling its Dispose method when it is not needed anymore
ExtractImagesInEvent(Stream, Int32, Int32) Extract the images from a range of pages of a PDF document in a stream to image objects and raises the ImageExtractedEvent event immediately after an image was extracted from a PDF page. The event handler argument contains a reference to extracted image object. You are responsible for disposing the extracted image object by calling its Dispose method when it is not needed anymore
ExtractImagesInEvent(String, Int32, Int32) Extract the images from a range of pages of a PDF file to image objects and raises the ImageExtractedEvent event immediately after an image was extracted from a PDF page. The event handler argument contains a reference to extracted image object. You are responsible for disposing the extracted image object by calling its Dispose method when it is not needed anymore
ExtractImagesToFile(Byte, String, String) Extract the images from all the pages in a PDF document to image files
ExtractImagesToFile(Stream, String, String) Extract the images from the pages of PDF document in a stream to image files
ExtractImagesToFile(String, String, String) Extract the images from all the pages of a PDF file to image files
ExtractImagesToFile(Byte, Int32, String, String) Extract the images from a PDF document to image files starting from a given PDF page number to the end of the PDF document
ExtractImagesToFile(Stream, Int32, String, String) Extract the images from the pages of a PDF document in a stream to image files starting from a given PDF page number to the end of the PDF document
ExtractImagesToFile(String, Int32, String, String) Extract the images from the pages of a PDF file to image files starting from a given PDF page number to the end of the PDF document
ExtractImagesToFile(Byte, Int32, Int32, String, String) Extract the images from a range of pages of a PDF document to image files
ExtractImagesToFile(Stream, Int32, Int32, String, String) Extract the images from a range of pages of a PDF document in a stream to image files
ExtractImagesToFile(String, Int32, Int32, String, String) Extract the images from a range of pages of a PDF file to image files
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as a hash function for a particular type.
(Inherited from Object)
GetPageCount(Byte) Gets the number of PDF pages of a PDF document
GetPageCount(Stream) Gets the number of pages of a PDF document in a stream
GetPageCount(String) Gets the number of PDF pages of a PDF file
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

ImageExtractedEvent The event which is raised immediately after an image was extracted from a PDF document. You can raise this event by calling the methods with 'InEvent' suffix like ExtractImagesInEvent(String)

See Also