←选择平台

RemovePages方法

总结
从中删除一个或多个页面RasterImage
语法
c#
VB
objective - c
c++
Java
公共无效RemovePages (intstartIndexint
公共RemovePages (_按值传递startIndex作为整数, _按值传递作为整数_
- (无效) removePages:(NSInteger)开始数:(NSInteger)
公共无效removePages (intstartIndexint
公共无效RemovePages (intstartIndexint

参数

startIndex
删除基于1的第一个页面的索引。


要删除的页面数。指定-1删除所有页面。

讲话

你不能有一个RasterImage对象中没有页面时,如果试图删除惟一剩下的页面,则会发生异常RasterImage对象

此方法从startIndexstartIndex+然后把它追加到这个页面列表的末尾RasterImage对象。此图像中的页面数按递减

RasterImage对象可以容纳不同大小的多个页面。的AddPageAddPagesInsertPage而且InsertPages方法允许向现有页面添加新页面RasterImage

RemovePageAtRemovePages而且RemoveAllPages方法中删除现有页面RasterImage对象。

ReplacePage而且ReplacePages方法中现有的页RasterImage对象。

PageCount属性中的总页数RasterImage对象,而页面属性允许您更改当前活动页面。

当前活动页面(由页面属性的数据时默认使用RasterImage对象,除非另有说明。

例子

示例请参见页面

需求

目标平台

另请参阅

参考

RasterImage类

RasterImage成员

Leadtools组装
188金宝搏的网址客服|支持|联系我们|知识产权公告
©1991 - 2021领德科技有限公司版权所有。