أوراق العمل المتحركة
Contents
[
Hide
]
Aspose.Cells.GridDesktop يدعم نقل أوراق العمل داخل المصنف.
انقل أوراق العمل داخل مصنف
Aspose.Cells.GridDesktop طريقة ، Aspose.Cells.GridDesktop.WorksheetCollection.MoveTo () ، تستخدم لنقل ورقة العمل إلى الفهرس المحدد. يأخذ الفهارس (المستندة إلى الصفر) من ورقة العمل المصدر وورقة العمل الوجهة كمعلمات. يتم استخدامه بشكل أساسي لنقل ورقة العمل إلى موقع آخر في نفس جدول البيانات.
يوضح المثال التالي كيفية نقل ورقة عمل إلى موقع آخر داخل المصنف.
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 | |
// Move the 2nd worksheet to 4th position. | |
gridDesktop1.Worksheets.MoveTo(1, 3); |