Method Create

Namespace TallComponents.PDF.Forms.Data
Class FormData

Returns a specialized instance of one of the derived FormData classes or if the stream does not contain valid data.

This function will never return a HttpPostFormData instance. The caller is responsible for closing the stream. The stream should be kept open during the lifetime of the returned FormData instance.

Syntax

public  FormData  Create( Stream  stream )

Returns

FormData

Returns a specialized instance of one of the derived FormData classes or if the stream does not contain valid data.

Parameters


Stream stream
A stream with data (in FDF, XFDF, XDP, XML or PDF format)