Udostępnij za pośrednictwem


PresentationDocument.FromFlatOpcString Method

Definition

Overloads

FromFlatOpcString(String)

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

FromFlatOpcString(String, Package)

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

FromFlatOpcString(String, Stream, Boolean)

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

FromFlatOpcString(String, String, Boolean)

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

FromFlatOpcString(String)

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

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

Parameters

text
String

The string in Flat OPC format.

Returns

A new instance of PresentationDocument.

Applies to

FromFlatOpcString(String, Package)

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

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

Parameters

text
String

The string in Flat OPC format.

package
Package

The Package of the target PresentationDocument.

Returns

A new instance of PresentationDocument.

Applies to

FromFlatOpcString(String, Stream, Boolean)

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

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

Parameters

text
String

The string in Flat OPC format.

stream
Stream

The Stream on which the PresentationDocument will be created.

isEditable
Boolean

In ReadWrite mode. False for Read only mode.

Returns

A new instance of PresentationDocument.

Applies to

FromFlatOpcString(String, String, Boolean)

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

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

Parameters

text
String

The string in Flat OPC format.

path
String

The path and file name of the target PresentationDocument.

isEditable
Boolean

In ReadWrite mode. False for Read only mode.

Returns

A new instance of PresentationDocument.

Applies to