TextReplaceOptions
内容
[
隐藏
]遗产: java.lang.Object, com.aspose.pdf.TextOptions
public final class TextReplaceOptions extends TextOptions
表示文本替换选项
构造函数
构造函数 | 描述 |
---|---|
TextReplaceOptions(int scope) | 为指定范围初始化 TextReplaceOptions 对象的新实例。 |
TextReplaceOptions(int adjustment, int scope) | 为指定的替换后操作初始化 TextReplaceOptions 对象的新实例。 |
TextReplaceOptions() | 为默认调整和范围初始化 TextReplaceOptions 对象的新实例:ReplaceAdjustment.None 和 Scope.REPLACE_第一的 |
方法
方法 | 描述 |
---|---|
equals(Object arg0) | |
getAdjustmentNewLineSpacing() | 获取或设置在强制替换调整以创建新文本行时使用的行距值。 |
getClass() | |
getReplaceAdjustmentAction() | 获取将文本片段替换为更短后将完成的操作。 |
getReplaceScope() | 获取应用替换文本操作的范围 |
hashCode() | |
notify() | |
notifyAll() | |
setAdjustmentNewLineSpacing(double value) | 获取或设置在强制替换调整以创建新文本行时使用的行距值。 |
setReplaceAdjustmentAction(int value) | 将替换文本片段后将执行的操作设置为更短。 |
setReplaceScope(int value) | 设置应用替换文本操作的范围 |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
TextReplaceOptions(int scope)
public TextReplaceOptions(int scope)
为指定范围初始化 TextReplaceOptions 对象的新实例。
参数:
范围 | 类型 | 描述 |
---|---|---|
scope | int | 范围对象。 |
TextReplaceOptions(int adjustment, int scope)
public TextReplaceOptions(int adjustment, int scope)
为指定的替换后操作初始化 TextReplaceOptions 对象的新实例。
参数:
范围 | 类型 | 描述 |
---|---|---|
adjustment | int | 替换调整对象。 |
scope | int | 范围对象。 |
TextReplaceOptions()
public TextReplaceOptions()
为默认调整和范围初始化 TextReplaceOptions 对象的新实例:ReplaceAdjustment.None 和 Scope.REPLACE_第一的
equals(Object arg0)
public boolean equals(Object arg0)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | java.lang.Object |
退货: 布尔值
getAdjustmentNewLineSpacing()
public double getAdjustmentNewLineSpacing()
获取或设置在强制替换调整以创建新文本行时使用的行距值。预期值是替换文本的字体大小的倍数。默认值为 1.2。
退货: 双倍价值
getClass()
public final native Class<?> getClass()
退货: java.lang.Class
getReplaceAdjustmentAction()
public int getReplaceAdjustmentAction()
获取将文本片段替换为更短后将完成的操作。
退货: int - ReplaceAdjustment 元素
getReplaceScope()
public int getReplaceScope()
获取应用替换文本操作的范围
退货: int - 整数值
hashCode()
public native int hashCode()
退货: 整数
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setAdjustmentNewLineSpacing(double value)
public void setAdjustmentNewLineSpacing(double value)
获取或设置在强制替换调整以创建新文本行时使用的行距值。预期值是替换文本的字体大小的倍数。默认值为 1.2。
参数:
范围 | 类型 | 描述 |
---|---|---|
value | double | 双倍价值 |
setReplaceAdjustmentAction(int value)
public void setReplaceAdjustmentAction(int value)
将替换文本片段后将执行的操作设置为更短。
参数:
范围 | 类型 | 描述 |
---|---|---|
value | int | 替换调整元素 |
setReplaceScope(int value)
public void setReplaceScope(int value)
设置应用替换文本操作的范围
参数:
范围 | 类型 | 描述 |
---|---|---|
value | int | 整数值 |
toString()
public String toString()
退货: java.lang.字符串
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | long | |
arg1 | int |