typedef struct _FILEPDFSAVEOPTIONS
{
L_UINT uStructSize;
L_UCHAR szUserPassword[255];
L_UCHAR szOwnerPassword[255];
L_BOOL b128bit;
L_UINT dwEncryptFlags;
} FILEPDFSAVEOPTIONS, * pFILEPDFSAVEOPTIONS;
The FILEPDFSAVEOPTIONS structure specifies options used when saving a PDF file.
Size of the structure. This should be sizeof(FILEPDFSAVEOPTIONS).
String that contains the user password. This should be provided to protect the document from being opened/read.
String that contains the owner password. This should be provided to prevent users from changing access/protection settings.
Flag that specifies the encryption method that will be used. Possible values are:
Value | Meaning |
---|---|
TRUE | Use an RC4 128-bit encryption key. |
FALSE | Use an RC4 40-bit encryption key. |
Flags that indicate the access rights users of the document will have. These values may be combined using a bitwise OR. Possible values are:
Value | Meaning |
---|---|
PDF_SECURITYFLAGS_REV2_PRINTDOCUMENT | Give the user of the PDF document permission to print the document. |
PDF_SECURITYFLAGS_REV3_PRINTFAITHFUL | [128 bit only] Give the user of the PDF document permission to print the document in high quality. |
PDF_SECURITYFLAGS_REV2_MODIFYDOCUMENT | Give the user of the PDF document permission to edit the document. |
PDF_SECURITYFLAGS_REV2_EXTRACTTEXT | Give the user of the PDF document permission to extract text from the document. |
PDF_SECURITYFLAGS_REV3_EXTRACTTEXTGRAPHICS | [128 bit only] Give the user of the PDF document permission to extract graphics from the document. |
PDF_SECURITYFLAGS_REV2_MODIFYANNOTATION | Give the user of the PDF document permission to edit annotations. |
PDF_SECURITYFLAGS_REV3_FILLFORM | Give the user of the PDF document permission to fill in forms in the document. |
PDF_SECURITYFLAGS_REV3_ASSEMBLEDOCUMENT | [128 bit only] Give the user of the PDF document permission to add pages to or delete pages from the document. |
PFILEPDFSAVEOPTIONS is a pointer to a FILEPDFSAVEOPTIONS structure.
The structure is used by:
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document