Udostępnij za pośrednictwem


OpenXmlPackage.FromFlatOpcDocumentCore Method

Definition

Overloads

FromFlatOpcDocumentCore(XDocument, Package)

Converts an XDocument in Flat OPC format to an OpenXml package stored in a Package.

FromFlatOpcDocumentCore(XDocument, Stream)

Converts an XDocument in Flat OPC format to an OpenXml package stored on a Stream.

FromFlatOpcDocumentCore(XDocument, String)

Converts an XDocument in Flat OPC format to an OpenXml package stored in a file.

FromFlatOpcDocumentCore(XDocument, Package)

Converts an XDocument in Flat OPC format to an OpenXml package stored in a Package.

protected static System.IO.Packaging.Package FromFlatOpcDocumentCore (System.Xml.Linq.XDocument flatOpcDocument, System.IO.Packaging.Package package);
protected static System.IO.Packaging.Package FromFlatOpcDocumentCore (System.Xml.Linq.XDocument document, System.IO.Packaging.Package package);
static member FromFlatOpcDocumentCore : System.Xml.Linq.XDocument * System.IO.Packaging.Package -> System.IO.Packaging.Package
static member FromFlatOpcDocumentCore : System.Xml.Linq.XDocument * System.IO.Packaging.Package -> System.IO.Packaging.Package
Protected Shared Function FromFlatOpcDocumentCore (flatOpcDocument As XDocument, package As Package) As Package
Protected Shared Function FromFlatOpcDocumentCore (document As XDocument, package As Package) As Package

Parameters

flatOpcDocumentdocument
XDocument

The document in Flat OPC format.

package
Package

The Package in which to store the OpenXml package.

Returns

The Package containing the OpenXml package.

Applies to

FromFlatOpcDocumentCore(XDocument, Stream)

Converts an XDocument in Flat OPC format to an OpenXml package stored on a Stream.

protected static System.IO.Stream FromFlatOpcDocumentCore (System.Xml.Linq.XDocument flatOpcDocument, System.IO.Stream stream);
protected static System.IO.Stream FromFlatOpcDocumentCore (System.Xml.Linq.XDocument document, System.IO.Stream stream);
static member FromFlatOpcDocumentCore : System.Xml.Linq.XDocument * System.IO.Stream -> System.IO.Stream
static member FromFlatOpcDocumentCore : System.Xml.Linq.XDocument * System.IO.Stream -> System.IO.Stream
Protected Shared Function FromFlatOpcDocumentCore (flatOpcDocument As XDocument, stream As Stream) As Stream
Protected Shared Function FromFlatOpcDocumentCore (document As XDocument, stream As Stream) As Stream

Parameters

flatOpcDocumentdocument
XDocument

The document in Flat OPC format.

stream
Stream

The Stream on which to store the OpenXml package.

Returns

The Stream containing the OpenXml package.

Applies to

FromFlatOpcDocumentCore(XDocument, String)

Converts an XDocument in Flat OPC format to an OpenXml package stored in a file.

protected static string FromFlatOpcDocumentCore (System.Xml.Linq.XDocument flatOpcDocument, string path);
protected static string FromFlatOpcDocumentCore (System.Xml.Linq.XDocument document, string path);
static member FromFlatOpcDocumentCore : System.Xml.Linq.XDocument * string -> string
static member FromFlatOpcDocumentCore : System.Xml.Linq.XDocument * string -> string
Protected Shared Function FromFlatOpcDocumentCore (flatOpcDocument As XDocument, path As String) As String
Protected Shared Function FromFlatOpcDocumentCore (document As XDocument, path As String) As String

Parameters

flatOpcDocumentdocument
XDocument

The document in Flat OPC format.

path
String

The path and file name of the file in which to store the OpenXml package.

Returns

The path and file name of the file containing the OpenXml package.

Applies to