Methods | IPdfDocument.Validate Method
Validates if the PDF document meets the specification of the provided PdfFormat.
Syntax
C# Copy
bool Validate( MemoryStream ms, PdfFormat pdfFormat )
Parameters
ms MemoryStream
Stream for validation log and results.
pdfFormat PdfFormat
The archive format to validate the PDF document against for conformity.
Return Value
Booleantrue if successfully validated against the format; otherwise false.
See Also
Reference
IPdfDocument Interface
Compiled.EDD.Scripting.Extensions.Pdf Namespace