OpenXmlPackage.ToFlatOpcDocument Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.