Words file format detect tool vs PDF

Hello,
Since this tool does not distinguish between different Pdf versions, is there any other function or method to detect different types, at least the ones supports to save:
PdfCompliance Enum | Aspose.Words for .NET
Thanks.

@australian.dev.nerds Detecting compliance level of PDF documents is out of Aspose.Words scope, since PDF is not the main input document format for Aspose.Words. You can check with Aspose.PDF team whether it supports detecting PDF compliance level.

1 Like

Hello,
When using PdfSaveOptions.Compliance = Words.Saving.PdfCompliance.PdfA4 the password encryption settings will not apply, the following always works but not when saving as PdfA4:

.EncryptionDetails = New Words.Saving.PdfEncryptionDetails(MyPassword, String.Empty)
.EncryptionDetails.Permissions = Words.Saving.PdfPermissions.DisallowAll

Thanks :slight_smile:

@australian.dev.nerds Encryption is prohibited by PDF/A compliance. EncryptionDetails are ignored when saving to PDF/A. Please see remarks for PdfSaveOptions.EncryptionDetails property for more information.

1 Like