 |
PdfValidatorClaimedStandard Method |
The standard the file claims in its metadata: its PDF/A identification, else its PDF/UA one, else the PDF/X
version in its document information. Null when it claims none, a part this validator does not offer, or the
file cannot be read.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.6
Syntaxpublic static PdfConformanceStandard? ClaimedStandard(
byte[] pdf,
string password
)
Public Shared Function ClaimedStandard (
pdf As Byte(),
password As String
) As PdfConformanceStandard?
Parameters
- pdf Byte
- The document.
- password String
- Its password, when it is encrypted.
Return Value
NullablePdfConformanceStandardThe claimed standard, or null.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | pdf is null. |
| PdfDocumentException | The password does not open the encrypted document. |
See Also