Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
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 };
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 while saving the image file (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 while saving the embedded font file (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.

File: PdfImport.h 

Module: API Reference 

Copyright © 2002-2022. Open Design Alliance All rights reserved.