HorizontalPageBreakCollection
内容
[
隐藏
]HorizontalPageBreakCollection class
封装了一个集合HorizontalPageBreak
对象.
public class HorizontalPageBreakCollection : CollectionBase<HorizontalPageBreak>
特性
姓名 | 描述 |
---|---|
Capacity { get; set; } | |
Count { get; } | |
Item { get; } | 获取HorizontalPageBreak 指定索引处的元素。 (2 indexers) |
Item { get; set; } |
方法
姓名 | 描述 |
---|---|
Add(int) | 向集合添加水平分页符。 |
Add(string) | 向集合添加水平分页符。 |
Add(int, int) | 向集合添加水平分页符。 |
Add(int, int, int) | 向集合添加水平分页符。 |
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) | 删除指定名称的 HPageBreak 元素。 (2 methods) |
例子
[C#]
Workbook excel = new Workbook();
//在G5添加分页符
excel.Worksheets[0].HorizontalPageBreaks.Add("G5");
excel.Worksheets[0].VerticalPageBreaks.Add("G5");
[VB]
Dim excel as Workbook = new Workbook()
'在 G5 添加分页符
excel.Worksheets(0).HorizontalPageBreaks.Add("G5")
excel.Worksheets(0).VerticalPageBreaks.Add("G5")
也可以看看
- class CollectionBase<T>
- class HorizontalPageBreak
- 命名空间 Aspose.Cells
- 部件 Aspose.Cells