Class ProtoSheets
Entry point for opening generated workbooks.
public sealed class ProtoSheets
- Inheritance
-
ProtoSheets
- Inherited Members
- Extension Methods
Methods
Open(IProtoBinaryContent, string?)
Opens a workbook straight from downloaded content - a REST response, an attachment, anything carrying named bytes - so the common test reads as one line.
public ProtoWorkbook Open(IProtoBinaryContent content, string? name = null)
Parameters
contentIProtoBinaryContentnamestring
Returns
Open(Stream, string)
Opens a workbook from memory, for example a captured attachment.
public ProtoWorkbook Open(Stream stream, string name = "workbook.xlsx")
Parameters
Returns
Open(string)
Opens a workbook from disk. Any producer's .xlsx works - the file is read as OpenXML.
public ProtoWorkbook Open(string path)
Parameters
pathstring