Class HorizontalPageBreakCollection
Contents
[
Hide
]HorizontalPageBreakCollection class
Encapsulates a collection of HorizontalPageBreak
objects.
public class HorizontalPageBreakCollection : CollectionBase<HorizontalPageBreak>
Properties
Name | Description |
---|---|
Capacity { get; set; } | |
Count { get; } | |
Item { get; } | Gets the HorizontalPageBreak element at the specified index. (2 indexers) |
Item { get; set; } |
Methods
Name | Description |
---|---|
Add(int) | Adds a horizontal page break to the collection. |
Add(string) | Adds a horizontal page break to the collection. |
Add(int, int) | Adds a horizontal page break to the collection. |
Add(int, int, int) | Adds a horizontal page break to the 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) | Removes the HPageBreak element at a specified name. (2 methods) |
Examples
[C#]
Workbook excel = new Workbook();
//Add a pagebreak at G5
excel.Worksheets[0].HorizontalPageBreaks.Add("G5");
excel.Worksheets[0].VerticalPageBreaks.Add("G5");
[VB]
Dim excel as Workbook = new Workbook()
'Add a pagebreak at G5
excel.Worksheets(0).HorizontalPageBreaks.Add("G5")
excel.Worksheets(0).VerticalPageBreaks.Add("G5")
See Also
- class CollectionBase<T>
- class HorizontalPageBreak
- namespace Aspose.Cells
- assembly Aspose.Cells