跳转到主要内容

方法

名称说明
ImageRegion Add(ImageRegion imageRegion);将现有区域添加到列表。返回所添加的区域。
ImageRegion Add(Rectangle rectangle, Page page);使用传入的矩形创建新区域,并将其添加到字段的区域列表。返回所添加的区域。
ImageRegion Add(Rectangle[] rectangles, Page page);在指定页上使用传入的多个矩形创建新区域,并将其添加到字段的区域列表。返回所添加的区域。
ImageRegion Add(int left, int top, int right, int bottom, Page page);在指定页上使用传入的矩形边界坐标创建新区域,并将该区域添加到字段的区域列表。返回所添加的区域。
bool Remove(ImageRegion imageRegion);从列表中移除一个区域。移除成功返回 true,否则返回 false
bool Remove(int imageRegionIndex);移除指定索引的区域。移除成功返回 true,否则返回 false
void Clear();移除列表中的所有区域。