Altsoft Xml2PDF Server Library

APSource.Create Method (Stream, String, APSourceFormat, Boolean)

Creates new APSource for given stream and input format.

public static APSource Create(
   Stream stream,
   string baseURI,
   APSourceFormat inputFormat,
   bool takesOwnership
);

Parameters

stream
APSource document stream.
baseURI
Base URI for source document.
inputFormat
Stream input format.
takesOwnership
Flag indicating if new instance owns given stream.

Return Value

New APSource instance.

See Also

APSource Class | Altsoft.Publisher Namespace | APSource.Create Overload List