Documentation
Table of contents

Enumeration PDFReadingMode

PDFReadingMode describes the PDF reading modes.

  • JavaScript
  • Android
  • Objective-C
  • Swift
  • C++
enum EnumPDFReadingMode
{
   /** Outputs vector data found in the PDFs.*/
   PDFRM_VECTOR = 1,
   /** The default value.
    * Outputs raster data found in the PDFs.
    * Depending on the argument Resolution, 
    * the SDK may rasterize the PDF pages.
    * Check the template for available argument settings.*/
   PDFRM_RASTER = 2,
   /** Reserved setting for PDF reading mode.*/
   PDFRM_REV = -2147483648
}
@Retention(RetentionPolicy.CLASS)
public @interface EnumPDFReadingMode
{
   /** Capture content from vector data in PDF file. */
   public static final int PDFRM_VECTOR = 1;
   /** The default value.
    * Outputs raster data found in the PDFs.
    * Depending on the argument Resolution, the SDK may rasterize the PDF pages.
    * Check the template for available argument settings. */
   public static final int PDFRM_RASTER = 2;
   /** Reserved setting for PDF reading mode.*/
   public static final int PDFRM_REV = -2147483648;
}
typedef NS_ENUM(NSInteger, DSPDFReadingMode)
{
   /** Capture content from vector data in PDF file. */
   DSPDFReadingModeVector = 0x01,
   /** The default value.
    * Outputs raster data found in the PDFs.
    * Depending on the argument Resolution, the SDK may rasterize the PDF pages.
    * Check the template for available argument settings. */
   DSPDFReadingModeRaster = 0x02,
   /** Reserved setting for PDF reading mode.*/
   DSPDFReadingModeRev = -2147483648
};
public enum PDFReadingMode : Int
{
   /** Capture content from vector data in PDF file. */
   vector = 0x01,
   /** The default value.
    * Outputs raster data found in the PDFs.
    * Depending on the argument Resolution, the SDK may rasterize the PDF pages.
    * Check the template for available argument settings. */
   raster = 0x02,
   /** Reserved setting for PDF reading mode.*/
   rev = -2147483648
};
typedef enum PDFReadingMode
{
   /** Outputs vector data found in the PDFs. */
   PDFRM_VECTOR = 0x01,
   /** The default value.
    * Outputs raster data found in the PDFs.
    * Depending on the argument Resolution, the SDK may rasterize the PDF pages.
    * Check the template for available argument settings. */
   PDFRM_RASTER = 0x02,
   /** Reserved setting for PDF reading mode.*/
#if defined(_WIN32) || defined(_WIN64)
   PDFRM_REV = 0x80000000,
#else
   PDFRM_REV = -2147483648,
#endif
} PDFReadingMode;

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version (2.2.0)
    • Version 2.x
      • Version 2.0.30
      • Version 2.0.20
      • Version 2.0.10
      • Version 2.0.0
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support