Version

Create(Stream,IPackageFactory) Method

Creates and returns a new instance of a WordDocumentWriter-derived class.
Syntax
'Declaration
 
<System.ComponentModel.BrowsableAttribute(False)>
<System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Overloads Shared Function Create( _
   ByVal stream As System.IO.Stream, _
   ByVal packageFactory As IPackageFactory _
) As WordDocumentWriter
[System.ComponentModel.BrowsableAttribute(false)]
[System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public static WordDocumentWriter Create( 
   System.IO.Stream stream,
   IPackageFactory packageFactory
)

Parameters

stream
The System.IO.Stream to which the content is persisted.
packageFactory
An IPackageFactory implementor which handles the packaging of the output file stream.

Return Value

A reference to the WordDocumentWriter-derived instance that was created.
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub