コード例 #1
0
 // Generates content of spreadsheetPrinterSettingsPart1.
 private void GenerateSpreadsheetPrinterSettingsPart1Content(SpreadsheetPrinterSettingsPart spreadsheetPrinterSettingsPart1)
 {
     System.IO.Stream data = GetBinaryDataStream(spreadsheetPrinterSettingsPart1Data);
     spreadsheetPrinterSettingsPart1.FeedData(data);
     data.Close();
 }
コード例 #2
0
 private void generateSpreadsheetPrinterSettingsPartContent(SpreadsheetPrinterSettingsPart spreadsheetPrinterSettingsPart)
 {
     using (var binaryDataStream = new MemoryStream(Convert.FromBase64String(spreadsheetPrinterSettingsPartData)))
     {
         spreadsheetPrinterSettingsPart.FeedData(binaryDataStream);
     }
 }