Reference Guide
GdPicture14 Namespace / GdPictureDocumentConverter Class
Properties Methods

In This Topic
    GdPictureDocumentConverter Class Members
    In This Topic

    The following tables list the members exposed by GdPictureDocumentConverter.

    Public Constructors
     NameDescription
    Public ConstructorA standard constructor for the GdPictureDocumentConverter class. It initializes an instance of the GdPictureDocumentConverter class, which subsequently represents a wrapper for your file. You will need this object to perform all available conversion operations with your file.  
    Top
    Public Properties
     NameDescription
    Public Property Specifies the name of the person who created the document.  
    Public PropertySets the level of quality used to compress images with a lossy compression scheme, which are embedded in the newly produced DOCX document when converting/saving the currently loaded document to DOCX format.

    It must be a value from 0 to 100. 0 means the worst quality and the best compression, 100 means the best quality and the worst compression.

     
    Public PropertySpecifies if present GdPictureAnnotations objects in the loaded document should be copied before further processing.  
    Public Property Specifies keywords associated with the document.  
    Public PropertySpecifies that all executed actions with the loaded document will be processed using only the first page of the document.  
    Public Property Specifies medatada of the produced document that must be represented in Extensible Markup Language (XML).  
    Public PropertySpecifies individual pages or page intervals related to the loaded document for further processing.

    The required page numbers need to be defined in the matching pattern, for example use the string of "1-5" for pages 1 to 5, or use the string of "1,5,6" to specify pages 1 and 5 and 6. You can use the string of "1,5,8-12" to specify pages 1, 5, 8 and all pages from page 8 to page 12, etc.

     
    Public PropertySets the scheme to be used to compress bitonal image data when converting/saving the currently loaded document to PDF format.  
    Public PropertySets the scheme to be used to compress color image data when converting/saving the currently loaded document to PDF format.  
    Public PropertyEnables or disables the automatic color detection feature when converting/saving the currently loaded document to PDF format.

    The purpose is to automatically detect the original color of documents scanned in color mode and convert the B/W and/or grayscale ones to the appropriate bpp (bits-per-pixel) encoding. The result is allowing preservation of image quality while considerably reducing the file size.

     
    Public PropertySets the level of quality used to compress images with a lossy compression scheme, which are embedded in the newly produced PDF document when converting/saving the currently loaded document to PDF format.

    It must be a value from 0 to 100. 0 means the worst quality and the best compression, 100 means the best quality and the worst compression.

     
    Public Property Specifies the name of the application (for example, PaperScan) that produced the document.  
    Public PropertySets the rendering resolution to be used when converting vector content to raster content, if any is included in the currently loaded document.  
    Public Property Specifies the subject of the document.  
    Public Property Specifies the document’s title.  
    Public Property Specifies whether the font used for the resulting document when converting from the source txt file must have a bold style.  
    Public Property Specifies the name of the font to be used for the resulting document when converting from the source txt file.  
    Public Property Specifies whether the font used for the resulting document when converting from the source txt file must have an italic style.  
    Public Property Specifies the text size, in points, to be used for the resulting document when converting from the source txt file.  
    Public Property Specifies the horizontal text alignment of the resulting document when converting from the source txt file. Default value is TextAlignment.TextAlignmentNear.  
    Public Property Specifies the page height, in points, of the resulting document when converting from the source txt file. Default value is 842, which is the A4 document height.  
    Public Property Specifies the bottom page margin, in points, of the resulting document when converting from the source txt file.  
    Public Property Specifies the left page margin, in points, of the resulting document when converting from the source txt file.  
    Public Property Specifies the right page margin, in points, of the resulting document when converting from the source txt file.  
    Public Property Specifies the top page margin, in points, of the resulting document when converting from the source txt file.  
    Public Property Specifies the page width, in points, of the resulting document when converting from the source txt file. The default value is 595, which is the A4 document width.  
    Top
    Public Methods
     NameDescription
    Public MethodCloses the currently loaded document and releases any related resources from memory.  
    Public MethodOverloaded. These methods combines all the specified input files to a single PDF document and saves the resulting file to a stream or to a file according to what you have specified.  
    Public MethodThis method converts the specified document from an instantiated input stream object to a single PDF document and saves the resulting file into an instantiated output stream object according to what you have specified.

    The PDF version or the PDF conformance level of the resulting PDF document is set according to the given Conformance parameter.

     
    Public MethodThis method disposes already used GdPictureDocumentConverter object completely. All related resources used by this object are released.  
    Public MethodThis method loads the source document according to a file path you have specified.  
    Public MethodThis method loads the source document from a previously instantiated stream object according to what you have specified.  
    Public MethodOverloaded. These methods convert and save the currently loaded document to a stream or to a file according to what you have specified. The output document format is DOCX.  
    Public MethodOverloaded. These methods convert and save the currently loaded document to a stream or to a file according to what you have specified. The output document format is PDF. You can also specify the PDF conformance level of the resulting PDF document.  
    Public MethodOverloaded. These methods convert and save the currently loaded document to a stream or to a file according to what you have specified. The output document format is TIFF. You can also specify the compression method used to compress the resulting image.  
    Top
    See Also