GrapeCity.ActiveReports.Export.Excel.v12 アセンブリ > GrapeCity.ActiveReports.Export.Excel.Section 名前空間 > XlsExport クラス : OpenXmlStandard プロパティ |
'宣言 Public Property OpenXmlStandard As OpenXmlStandard
public OpenXmlStandard OpenXmlStandard {get; set;}
SectionReport1 rpt = new SectionReport1(); GrapeCity.ActiveReports.Document.SectionDocument doc = new GrapeCity.ActiveReports.Document.SectionDocument(); doc.Pages.Add(new GrapeCity.ActiveReports.Document.Section.Page()); XlsExport export = new XlsExport(); export.FileFormat = GrapeCity.ActiveReports.Export.Excel.Section.FileFormat.Xlsx; export.OpenXmlStandard = GrapeCity.ActiveReports.Export.Excel.Section.OpenXmlStandard.Transitional; Stream stream = new MemoryStream(); export.Export(rpt.Document, stream);
Dim rpt As New SectionReport1() Dim doc As New GrapeCity.ActiveReports.Document.SectionDocument() doc.Pages.Add(New GrapeCity.ActiveReports.Document.Section.Page()) Dim export As New XlsExport() export.FileFormat = GrapeCity.ActiveReports.Export.Excel.Section.FileFormat.Xlsx export.OpenXmlStandard = GrapeCity.ActiveReports.Export.Excel.Section.OpenXmlStandard.Transitional Dim stream As Stream = New MemoryStream() export.Export(rpt.Document, stream)