Ribbon XML i Özelleştirme
Contents
[
Hide
]
Microsoft Office, ofis 2007’den bu yana uygulama penceresinin üstünde bir Ribbon ile menüleri ve araç çubuklarını değiştirdi. Ribbon özelleştirilebilir. Aspose.Cells,
- Parse etmeden Ribbon XML’yi saklamanıza olanak tanır.
- Açılış işareti ve açılış etiketi işareti XML sınıfı kullanarak işaretleme.
- Veri ilişkilendirmesi yöntemi kullanarak XML dosyalarını aktifleştirebilme.
Eğer açılış XML’ni değiştirmek istiyorsanız, XML veri işaretleme aracıları ya da başka bir açılış XML aracı kullanarak, onu işaretleşmelisiniz.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET | |
// The path to the documents directory. | |
string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | |
Workbook wb = new Workbook(dataDir+ "aspose-sample.xlsx"); | |
FileInfo fi = new FileInfo(dataDir+ "CustomUI.xml"); | |
StreamReader sr = fi.OpenText(); | |
wb.RibbonXml = sr.ReadToEnd(); | |
sr.Close(); |