SpreadsheetDocument.FromFlatOpcString 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
FromFlatOpcString(String) |
Creates a new instance of SpreadsheetDocument from a string in Flat OPC format on a MemoryStream with expandable capacity. |
FromFlatOpcString(String, Package) |
Creates a new instance of SpreadsheetDocument from a string in Flat OPC format. |
FromFlatOpcString(String, Stream, Boolean) |
Creates a new instance of SpreadsheetDocument from a string in Flat OPC format on a |
FromFlatOpcString(String, String, Boolean) |
Creates a new instance of SpreadsheetDocument from a string in Flat OPC format. |
FromFlatOpcString(String)
Creates a new instance of SpreadsheetDocument from a string in Flat OPC format on a MemoryStream with expandable capacity.
public static DocumentFormat.OpenXml.Packaging.SpreadsheetDocument FromFlatOpcString (string text);
static member FromFlatOpcString : string -> DocumentFormat.OpenXml.Packaging.SpreadsheetDocument
Public Shared Function FromFlatOpcString (text As String) As SpreadsheetDocument
Parameters
- text
- String
The string in Flat OPC format.
Returns
A new instance of SpreadsheetDocument.
Applies to
FromFlatOpcString(String, Package)
Creates a new instance of SpreadsheetDocument from a string in Flat OPC format.
public static DocumentFormat.OpenXml.Packaging.SpreadsheetDocument FromFlatOpcString (string text, System.IO.Packaging.Package package);
static member FromFlatOpcString : string * System.IO.Packaging.Package -> DocumentFormat.OpenXml.Packaging.SpreadsheetDocument
Public Shared Function FromFlatOpcString (text As String, package As Package) As SpreadsheetDocument
Parameters
- text
- String
The string in Flat OPC format.
Returns
A new instance of SpreadsheetDocument.
Applies to
FromFlatOpcString(String, Stream, Boolean)
Creates a new instance of SpreadsheetDocument from a string in Flat OPC format on a
public static DocumentFormat.OpenXml.Packaging.SpreadsheetDocument FromFlatOpcString (string text, System.IO.Stream stream, bool isEditable);
static member FromFlatOpcString : string * System.IO.Stream * bool -> DocumentFormat.OpenXml.Packaging.SpreadsheetDocument
Public Shared Function FromFlatOpcString (text As String, stream As Stream, isEditable As Boolean) As SpreadsheetDocument
Parameters
- text
- String
The string in Flat OPC format.
- isEditable
- Boolean
In ReadWrite mode. False for Read only mode.
Returns
A new instance of SpreadsheetDocument.
Applies to
FromFlatOpcString(String, String, Boolean)
Creates a new instance of SpreadsheetDocument from a string in Flat OPC format.
public static DocumentFormat.OpenXml.Packaging.SpreadsheetDocument FromFlatOpcString (string text, string path, bool isEditable);
static member FromFlatOpcString : string * string * bool -> DocumentFormat.OpenXml.Packaging.SpreadsheetDocument
Public Shared Function FromFlatOpcString (text As String, path As String, isEditable As Boolean) As SpreadsheetDocument
Parameters
- text
- String
The string in Flat OPC format.
- path
- String
The path and file name of the target SpreadsheetDocument.
- isEditable
- Boolean
In ReadWrite mode. False for Read only mode.
Returns
A new instance of SpreadsheetDocument.