共用方式為


WordprocessingDocument.FromFlatOpcString Method

Definition

Overloads

FromFlatOpcString(String)

Creates a new instance of WordprocessingDocument from a string in Flat OPC format on a MemoryStream with expandable capacity.

FromFlatOpcString(String, Package)

Creates a new instance of WordprocessingDocument from a string in Flat OPC format.

FromFlatOpcString(String, Stream, Boolean)

Creates a new instance of WordprocessingDocument from a string in Flat OPC format on a

FromFlatOpcString(String, String, Boolean)

Creates a new instance of WordprocessingDocument from a string in Flat OPC format.

FromFlatOpcString(String)

Creates a new instance of WordprocessingDocument from a string in Flat OPC format on a MemoryStream with expandable capacity.

public static DocumentFormat.OpenXml.Packaging.WordprocessingDocument FromFlatOpcString (string text);
static member FromFlatOpcString : string -> DocumentFormat.OpenXml.Packaging.WordprocessingDocument
Public Shared Function FromFlatOpcString (text As String) As WordprocessingDocument

Parameters

text
String

The string in Flat OPC format.

Returns

A new instance of WordprocessingDocument.

Applies to

FromFlatOpcString(String, Package)

Creates a new instance of WordprocessingDocument from a string in Flat OPC format.

public static DocumentFormat.OpenXml.Packaging.WordprocessingDocument FromFlatOpcString (string text, System.IO.Packaging.Package package);
static member FromFlatOpcString : string * System.IO.Packaging.Package -> DocumentFormat.OpenXml.Packaging.WordprocessingDocument
Public Shared Function FromFlatOpcString (text As String, package As Package) As WordprocessingDocument

Parameters

text
String

The string in Flat OPC format.

package
Package

The Package of the target WordprocessingDocument.

Returns

A new instance of WordprocessingDocument.

Applies to

FromFlatOpcString(String, Stream, Boolean)

Creates a new instance of WordprocessingDocument from a string in Flat OPC format on a

public static DocumentFormat.OpenXml.Packaging.WordprocessingDocument FromFlatOpcString (string text, System.IO.Stream stream, bool isEditable);
static member FromFlatOpcString : string * System.IO.Stream * bool -> DocumentFormat.OpenXml.Packaging.WordprocessingDocument
Public Shared Function FromFlatOpcString (text As String, stream As Stream, isEditable As Boolean) As WordprocessingDocument

Parameters

text
String

The string in Flat OPC format.

stream
Stream

The Stream on which the WordprocessingDocument will be created.

isEditable
Boolean

In ReadWrite mode. False for Read only mode.

Returns

A new instance of WordprocessingDocument.

Applies to

FromFlatOpcString(String, String, Boolean)

Creates a new instance of WordprocessingDocument from a string in Flat OPC format.

public static DocumentFormat.OpenXml.Packaging.WordprocessingDocument FromFlatOpcString (string text, string path, bool isEditable);
static member FromFlatOpcString : string * string * bool -> DocumentFormat.OpenXml.Packaging.WordprocessingDocument
Public Shared Function FromFlatOpcString (text As String, path As String, isEditable As Boolean) As WordprocessingDocument

Parameters

text
String

The string in Flat OPC format.

path
String

The path and file name of the target WordprocessingDocument.

isEditable
Boolean

In ReadWrite mode. False for Read only mode.

Returns

A new instance of WordprocessingDocument.

Applies to