本文整理汇总了C#中NPOI.POIFS.FileSystem.POIFSFileSystem.CreatePOIFSDocumentReader方法的典型用法代码示例。如果您正苦于以下问题:C# POIFSFileSystem.CreatePOIFSDocumentReader方法的具体用法?C# POIFSFileSystem.CreatePOIFSDocumentReader怎么用?C# POIFSFileSystem.CreatePOIFSDocumentReader使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类NPOI.POIFS.FileSystem.POIFSFileSystem
的用法示例。
在下文中一共展示了POIFSFileSystem.CreatePOIFSDocumentReader方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AbortableProcessWorkbookEvents
/// <summary>
/// Processes a file into essentially record events.
/// </summary>
/// <param name="req">an Instance of HSSFRequest which has your registered listeners</param>
/// <param name="fs">a POIFS filesystem containing your workbook</param>
/// <returns>numeric user-specified result code.</returns>
public short AbortableProcessWorkbookEvents(HSSFRequest req, POIFSFileSystem fs)
{
Stream in1 = fs.CreatePOIFSDocumentReader("Workbook");
return AbortableProcessEvents(req, in1);
}
示例2: ProcessWorkbookEvents
/// <summary>
/// Processes a file into essentially record events.
/// </summary>
/// <param name="req">an Instance of HSSFRequest which has your registered listeners</param>
/// <param name="fs">a POIFS filesystem containing your workbook</param>
public void ProcessWorkbookEvents(HSSFRequest req, POIFSFileSystem fs)
{
Stream in1 = fs.CreatePOIFSDocumentReader("Workbook");
ProcessEvents(req, in1);
}