Paragraphs

遗产: java.lang.Object

所有已实现的接口: java.lang.Iterable,com.aspose.ms.System.ICloneable

public class Paragraphs implements Iterable<BaseParagraph>, System.ICloneable

此类表示段落集合。

构造函数

构造函数描述
Paragraphs()

方法

方法描述
add(BaseParagraph paragraph)将段落添加到集合中。
clear()清晰的段落。
deepClone()克隆一个新的 Clone 对象。
equals(Object arg0)
getClass()
getCount()获取段落计数。
getRange(int index, int count)删除段落范围。
get_Item(int index)从集合中获取段落。
hashCode()
insert(int index, BaseParagraph paragraph)将段落插入集合。
insertRange(int index, System.Collections.Generic.List collection)将集合的元素插入到指定索引处的列表中。
iterator()
notify()
notifyAll()
remove(BaseParagraph paragraph)从集合中删除段落。
removeRange(int index, int count)删除段落范围。
set_Item(int index, BaseParagraph value)将段落设置为集合。
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Paragraphs()

public Paragraphs()

add(BaseParagraph paragraph)

public void add(BaseParagraph paragraph)

将段落添加到集合中。

参数:

范围类型描述
paragraphBaseParagraph这段落。

clear()

public void clear()

清晰的段落。

deepClone()

public Object deepClone()

克隆一个新的 Clone 对象。

退货: java.lang.Object - 新的 Clone 对象。

equals(Object arg0)

public boolean equals(Object arg0)

参数:

范围类型描述
arg0java.lang.Object

退货: 布尔值

getClass()

public final native Class<?> getClass()

退货: java.lang.Class

getCount()

public int getCount()

获取段落计数。

退货: int - 整数值

getRange(int index, int count)

public Paragraphs getRange(int index, int count)

删除段落范围。

参数:

范围类型描述
indexint第一段索引。
countint段落很重要。

退货: Paragraphs 段落集合

get_Item(int index)

public BaseParagraph get_Item(int index)

从集合中获取段落。

参数:

范围类型描述
indexint段落索引。

退货: BaseParagraph - BaseParagraph 对象

hashCode()

public native int hashCode()

退货: 整数

insert(int index, BaseParagraph paragraph)

public void insert(int index, BaseParagraph paragraph)

将段落插入集合。

参数:

范围类型描述
indexint段落的索引。
paragraphBaseParagraph这段落。

insertRange(int index, System.Collections.Generic.List collection)

public void insertRange(int index, System.Collections.Generic.List<BaseParagraph> collection)

将集合的元素插入到指定索引处的列表中。

参数:

范围类型描述
indexint整数值(索引)
collectioncom.aspose.ms.System.Collections.Generic.List<com.aspose.pdf.BaseParagraph>BaseParagraph 对象列表(集合)

iterator()

public System.Collections.IEnumerator iterator()

退货: com.aspose.ms.System.Collections.IEnumerator

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

remove(BaseParagraph paragraph)

public void remove(BaseParagraph paragraph)

从集合中删除段落。

参数:

范围类型描述
paragraphBaseParagraphBaseParagraph 对象

removeRange(int index, int count)

public void removeRange(int index, int count)

删除段落范围。

参数:

范围类型描述
indexint第一段索引。
countint段落很重要。

set_Item(int index, BaseParagraph value)

public void set_Item(int index, BaseParagraph value)

将段落设置为集合。

参数:

范围类型描述
indexint段落索引。
valueBaseParagraphBaseParagraph 对象

toString()

public String toString()

退货: java.lang.字符串

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

参数:

范围类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

参数:

范围类型描述
arg0long
arg1int