OpenXmlPackage.ToFlatOpcDocument Method

Definition

Overloads

ToFlatOpcDocument()

Converts an OpenXml package in OPC format to an XDocument in Flat OPC format.

ToFlatOpcDocument(XProcessingInstruction)

Converts an OpenXml package in OPC format to an XDocument in Flat OPC format.

ToFlatOpcDocument()

Converts an OpenXml package in OPC format to an XDocument in Flat OPC format.

public abstract System.Xml.Linq.XDocument ToFlatOpcDocument ();
abstract member ToFlatOpcDocument : unit -> System.Xml.Linq.XDocument
Public MustOverride Function ToFlatOpcDocument () As XDocument

Returns

The OpenXml package in Flat OPC format.

Applies to

ToFlatOpcDocument(XProcessingInstruction)

Converts an OpenXml package in OPC format to an XDocument in Flat OPC format.

protected System.Xml.Linq.XDocument ToFlatOpcDocument (System.Xml.Linq.XProcessingInstruction instruction);
protected System.Xml.Linq.XDocument ToFlatOpcDocument (System.Xml.Linq.XProcessingInstruction? instruction);
member this.ToFlatOpcDocument : System.Xml.Linq.XProcessingInstruction -> System.Xml.Linq.XDocument
Protected Function ToFlatOpcDocument (instruction As XProcessingInstruction) As XDocument

Parameters

instruction
XProcessingInstruction

The processing instruction.

Returns

The OpenXml package in Flat OPC format.

Applies to