API Reference > OdPdfImport Classes > OdPdfImport Class > OdPdfImport Enumerations > OdPdfImport::ImportResult Enumeration
OdPdfImport::ImportResult Enumeration
Syntax
C++
enum ImportResult { success, fail, bad_password, bad_file, bad_database, encrypted_file, invalid_page_number, image_file_error, no_objects_imported, font_file_error };

PdfImport.h

Members 
Description 
success 
The import process is successfully finished. 
fail 
The import process failed. 
bad_password 
The import process failed because of an incorrect password. 
bad_file 
The import process failed because of an incorrect input .pdf file. 
bad_database 
The import process failed because of an incorrect destination database object. 
encrypted_file 
The import process failed because of an encrypted input .pdf file. 
invalid_page_number 
The import process failed because of an invalid page number of the input .pdf file. 
image_file_error 
The import process failed because of an error during the image file saving (the possible reason is an invalid directory for saving). 
no_objects_imported 
The import process failed because no objects were imported. 
font_file_error 
The import process failed because of an error during the embedded font file saving (the possible reason is an invalid directory for saving). 

Contains a list of the PDF import operation results that are handled by the PDF import module.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.