Click or drag to resize

PdfDecoderIsValidFormat Method

Returns true if and only if the specified Stream contains a PDF document.

Namespace:  Atalasoft.Imaging.Codec.Pdf
Assembly:  Atalasoft.dotImage.PdfReader (in Atalasoft.dotImage.PdfReader.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public override bool IsValidFormat(
	Stream stream
)

Parameters

stream
Type: System.IOStream
The Stream that holds the PDF document to verify. It is assumed that the stream position points is at the start of the PDF document.

Return Value

Type: Boolean
True if and only if the specified Stream contains a PDF document.
See Also