HorizontalPageBreakCollection
Contenu
[
Cacher
]HorizontalPageBreakCollection class
Encapsule une collection deHorizontalPageBreak
objets.
public class HorizontalPageBreakCollection : CollectionBase<HorizontalPageBreak>
Propriétés
Nom | La description |
---|---|
Capacity { get; set; } | |
Count { get; } | |
Item { get; } | Obtient leHorizontalPageBreak élément à l’index spécifié. (2 indexers) |
Item { get; set; } |
Méthodes
Nom | La description |
---|---|
Add(int) | Ajoute un saut de page horizontal à la collection. |
Add(string) | Ajoute un saut de page horizontal à la collection. |
Add(int, int) | Ajoute un saut de page horizontal à la collection. |
Add(int, int, int) | Ajoute un saut de page horizontal à la collection. |
BinarySearch(HorizontalPageBreak) | |
BinarySearch(HorizontalPageBreak, IComparer<HorizontalPageBreak>) | |
BinarySearch(int, int, HorizontalPageBreak, IComparer<HorizontalPageBreak>) | |
Clear() | |
Contains(HorizontalPageBreak) | |
CopyTo(HorizontalPageBreak[]) | |
CopyTo(HorizontalPageBreak[], int) | |
CopyTo(int, HorizontalPageBreak[], int, int) | |
Exists(Predicate<HorizontalPageBreak>) | |
Find(Predicate<HorizontalPageBreak>) | |
FindAll(Predicate<HorizontalPageBreak>) | |
FindIndex(Predicate<HorizontalPageBreak>) | |
FindIndex(int, Predicate<HorizontalPageBreak>) | |
FindIndex(int, int, Predicate<HorizontalPageBreak>) | |
FindLast(Predicate<HorizontalPageBreak>) | |
FindLastIndex(Predicate<HorizontalPageBreak>) | |
FindLastIndex(int, Predicate<HorizontalPageBreak>) | |
FindLastIndex(int, int, Predicate<HorizontalPageBreak>) | |
GetEnumerator() | |
IndexOf(HorizontalPageBreak) | |
IndexOf(HorizontalPageBreak, int) | |
IndexOf(HorizontalPageBreak, int, int) | |
LastIndexOf(HorizontalPageBreak) | |
LastIndexOf(HorizontalPageBreak, int) | |
LastIndexOf(HorizontalPageBreak, int, int) | |
RemoveAt(int) | Supprime l’élément HPageBreak à un nom spécifié. (2 methods) |
Exemples
[C#]
Workbook excel = new Workbook();
//Ajouter un saut de page à G5
excel.Worksheets[0].HorizontalPageBreaks.Add("G5");
excel.Worksheets[0].VerticalPageBreaks.Add("G5");
[VB]
Dim excel as Workbook = new Workbook()
'Ajouter un saut de page à G5
excel.Worksheets(0).HorizontalPageBreaks.Add("G5")
excel.Worksheets(0).VerticalPageBreaks.Add("G5")
Voir également
- class CollectionBase<T>
- class HorizontalPageBreak
- espace de noms Aspose.Cells
- Assemblée Aspose.Cells