Click or drag to resize
Pdf Library for .NET

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.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.6
Syntax
public static PdfConformanceStandard? ClaimedStandard(
	byte[] pdf,
	string password
)

Parameters

pdf  Byte
The document.
password  String
Its password, when it is encrypted.

Return Value

NullablePdfConformanceStandard
The claimed standard, or null.
Exceptions
ExceptionCondition
ArgumentNullExceptionpdf is null.
PdfDocumentExceptionThe password does not open the encrypted document.
See Also