Altsoft Xml2PDF reference library
CreateSourceWordDoc Method (stream, baseURI, takesOwnership)
NamespacesAltsoft.PublisherAPEngineCreateSourceWordDoc(Stream, String, Boolean)
Creates a new WordDoc source.
Declaration Syntax
C#Visual BasicVisual C++
public APSource CreateSourceWordDoc(
	Stream stream,
	string baseURI,
	bool takesOwnership
)
Public Function CreateSourceWordDoc ( _
	stream As Stream, _
	baseURI As String, _
	takesOwnership As Boolean _
) As APSource
public:
APSource^ CreateSourceWordDoc(
	Stream^ stream, 
	String^ baseURI, 
	bool takesOwnership
)
Parameters
stream (Stream)
Source document stream.
baseURI (String)
Base URI for source document.
takesOwnership (Boolean)
Indicates whether the new source takes ownership of stream.
Return Value
The new APSource instance.
Exceptions
ExceptionCondition
ObjectDisposedExceptionAPEngine instance is disposed.
InvalidOperationExceptionAPEngine instance is not loaded. -or- APEngine instance is not in running mode.
ArgumentExceptionbaseURI is not the valid path or URI.
ArgumentNullExceptionstream is null. -or- baseURI is null.

Assembly: Altsoft.Xml2PDF.Server (Module: Altsoft.Xml2PDF.Server)