XReadOptions ReadModule Property. Gets or sets the module to use. ABCpdf .NET PDF Library.

ABCpdf .net

 
   

 

Type Default Read Only Description
[C#]ReadModuleType

[Visual Basic]
ReadModuleType
Default No Gets or sets the module to use.

 

   

Notes
 

The ReadModuleType enumeration may take the following values:

  • Default
  • Pdf
  • SwfVector
  • Xps
  • XpsAny
  • MSOffice
  • OpenOffice
  • Svg
  • Eps
  • BasicImage
  • Tiff
  • Photoshop
  • WordGlue
  • RichTextFormat

The Default value allows ABCpdf to delegate the read operation to what it considers to be an appropriate module or set of modules, depending on the content provided and the method called.

The Pdf value is the standard PDF import module. It takes advantage of the Password property.

The SwfVector module is a native Flash / SWF vector import module. It takes advantage of the Operation and Frame properties. The Operation must be either null or a SwfImportOperation.

The Xps module is a native XPS and OXPS (Open XPS) import module. It takes advantage of the Operation property, which must be either null or an XpsImportOperation.

The XpsAny module prints via the XPS printer driver and then imports the resultant document. It takes advantage of the Operation, FileExtension, and Timeout properties. The Operation provided must be either null or an XpsImportOperation.

The MSOffice module uses Microsoft Office for document conversion. This module is fast and produces high fidelity output, including native form fields and annotations conversion. It takes advantage of the AddForms, Boomarks, Password, EnableMSOfficeMacros, PreserveTransparency and Timeout properties.

The OpenOffice module uses OpenOffice.org for document conversion. It takes advantage of the OpenOfficeParameters and Timeout properties.

The WordGlue module uses WordGlue .NET for DOC and DOCX conversion. WordGlue .NET is a fully managed component for the conversion of semantic document formats. This requires WordGlue 2.0.0.1 or later to be installed. WordGlue can be downloaded from our web site.

The RichTextFormat module is a native RTF import module. It takes advantage of the DefaultRect and Timeout properties.

The Svg module is a native SVG (Scaleable Vector Graphics) import module. It takes advantage of the DefaultFont and DefaultRect properties.

The Eps module is a native EPS (Encapsulated PostScript) import module. It takes advantage of the ErrorHandling and Log properties.

The Tiff module is a native TIFF (Tagged Image File Format) import module. It takes advantage of the PreserveTransparency and Frame properties. TIFF images may be black and white, grayscale, RGB, CMYK, TIFF or Lab in 1, 8 , 16 and 32 bits per component color depth and with out without alpha. Because PDF does not support 32 bit High Dynamic Range (HDR) encodings, TIFFs in this format will be downsampled to 16 bits per component. TIFF images containing JPEG or CCITT compressed frames will be inserted direct into the document without a decompress-recompress cycle. This module is broadly similar in speed to System.Drawing for most images. For CMYK images and images with large embedded color profiles it is a bit slower simply because there is more data to compress. In out tests with large images in the order of about 500 MB it was about ten times faster. In our tests with TIFF images containing JPEG or CCITT frames it is typically about thirty times faster.

The Photoshop module supports the standard PSD and also the large image PDB file types. If the PreserveTransparency property is set any transparency will be preserved. It allows the direct import of bitmap, RGB, Grayscale, CMYK, Lab, Indexed and Duotone images in 1, 8 , 16 and 32 bits per component color depth, all with or without alpha. The PDF format does not support 32 bits per component HDR images so these are scaled down to 16 bits per component. The Frame property allows the extraction of individual layers from within the image. TIFF orientation flags are automatically applied so that images that are tagged in this way automatically appear the right way up.

The BasicImage module allows you to read images such as JPEG and multi-page TIFF directly into a PDF document. It takes advantage of the PreserveTransparency property.

 

   

Example
 

None.