SectionMode
XlsxSaveOptions.SectionMode property
Bölümlerin çıkış XLSX belgesine kaydedilirken nasıl işleneceğini alır veya ayarlar. Varsayılan değerMultipleWorksheets .
public XlsxSectionMode SectionMode { get; set; }
Örnekler
Belgenin ayrı çalışma sayfaları olarak nasıl kaydedileceğini gösterir.
Document doc = new Document(MyDir + "Big document.docx");
// Belgenin her bölümü ayrı bir çalışma sayfası olarak oluşturulacak.
// Tüm belgeleri tek bir çalışma sayfasında görüntülemek için 'SingleWorksheet'i kullanın.
XlsxSaveOptions xlsxSaveOptions = new XlsxSaveOptions();
xlsxSaveOptions.SectionMode = XlsxSectionMode.MultipleWorksheets;
doc.Save(ArtifactsDir + "XlsxSaveOptions.SelectionMode.xlsx", xlsxSaveOptions);
Ayrıca bakınız
- enum XlsxSectionMode
- class XlsxSaveOptions
- ad alanı Aspose.Words.Saving
- toplantı Aspose.Words