|
Foxit PDF SDK
|
Public 成员函数 | |
| DefaultAppearance () | |
| 构造函数。 | |
| DefaultAppearance (DefaultAppearance default_appearance) | |
| 构造函数,使用另一个默认外观对象。 更多... | |
| DefaultAppearance (int flags, Font font, float text_size, long text_color) | |
| 构造函数,带参数。 更多... | |
| synchronized void | delete () |
| 直接清除C++相关资源。 更多... | |
| int | getFlags () |
| Get 指示默认外观的哪些属性是有意义的标志。 更多... | |
| Font | getFont () |
| Get 默认外观的字体。当它有用时,应该是一个有效的字体对象。 更多... | |
| long | getText_color () |
| Get 默认外观的文本颜色。格式:0xRRGGBB。 更多... | |
| float | getText_size () |
| Get 默认外观的文本大小。 更多... | |
| void | set (int flags, Font font, float text_size, long text_color) |
| 设置值。 更多... | |
| void | setFlags (int value) |
| Set 指示默认外观的哪些属性是有意义的标志。 更多... | |
| void | setFont (Font value) |
| Set 默认外观的字体。当它有用时,应该是一个有效的字体对象。 更多... | |
| void | setText_color (long value) |
| Set 默认外观的文本颜色。格式:0xRRGGBB。 更多... | |
| void | setText_size (float value) |
| Set 默认外观的文本大小。 更多... | |
静态 Public 属性 | |
| static final int | e_FlagFont = 0x0001 |
| 指示com.foxit.sdk.pdf.annots.DefaultAppearance 的字体属性是有意义的。 | |
| static final int | e_FlagFontSize = 0x0004 |
| 指示com.foxit.sdk.pdf.annots.DefaultAppearance 的文本大小属性是有意义的。 | |
| static final int | e_FlagTextColor = 0x0002 |
| 指示com.foxit.sdk.pdf.annots.DefaultAppearance 的文本颜色属性是有意义的。 | |
此类表示默认外观数据,用于自由文本注释和表单。
| com.foxit.sdk.pdf.annots.DefaultAppearance.DefaultAppearance | ( | int | flags, |
| Font | font, | ||
| float | text_size, | ||
| long | text_color | ||
| ) |
构造函数,带参数。
| [in] | flags | 指示默认外观的哪些属性是有意义的标志。 请参考从com.foxit.sdk.pdf.annots.DefaultAppearance.e_FlagFont 开始的值, 这可以是这些值中的一个或组合。 |
| [in] | font | 当参数flags包含com.foxit.sdk.pdf.annots.DefaultAppearance.e_FlagFont 时, 用于默认外观的有效字体对象。 |
| [in] | text_size | 当参数flags包含com.foxit.sdk.pdf.annots.DefaultAppearance.e_FlagFontSize 时, 默认外观的字体大小。通常应该大于0。 对于某些对象,大小0有特殊含义。请参考用于将默认外观数据设置为其他对象的函数注释。 |
| [in] | text_color | 默认外观的文本颜色。格式:0xRRGGBB。 |
| com.foxit.sdk.pdf.annots.DefaultAppearance.DefaultAppearance | ( | DefaultAppearance | default_appearance | ) |
构造函数,使用另一个默认外观对象。
| [in] | default_appearance | 另一个默认外观对象。 |
| synchronized void com.foxit.sdk.pdf.annots.DefaultAppearance.delete | ( | ) |
直接清除C++相关资源。
| com.foxit.sdk.pdf.annots.DefaultAppearance.getFlags | ( | ) |
Get 指示默认外观的哪些属性是有意义的标志。
请参考从com.foxit.sdk.pdf.annots.DefaultAppearance.e_FlagFont 开始的值, 这可以是这些值中的一个或组合。 0表示默认外观的任何属性都不是有意义的。
| com.foxit.sdk.pdf.annots.DefaultAppearance.getFont | ( | ) |
Get 默认外观的字体。当它有用时,应该是一个有效的字体对象。
| com.foxit.sdk.pdf.annots.DefaultAppearance.getText_color | ( | ) |
Get 默认外观的文本颜色。格式:0xRRGGBB。
| com.foxit.sdk.pdf.annots.DefaultAppearance.getText_size | ( | ) |
Get 默认外观的文本大小。
当它有用时,通常应该大于0。对于某些对象,大小0有特殊含义。 请参考用于将默认外观数据设置为其他对象的函数注释。
| void com.foxit.sdk.pdf.annots.DefaultAppearance.set | ( | int | flags, |
| Font | font, | ||
| float | text_size, | ||
| long | text_color | ||
| ) |
设置值。
| [in] | flags | 指示默认外观的哪些属性是有意义的标志。 请参考从com.foxit.sdk.pdf.annots.DefaultAppearance.e_FlagFont 开始的值, 这可以是这些值中的一个或组合。 |
| [in] | font | 默认外观的字体。当参数flags包含 com.foxit.sdk.pdf.annots.DefaultAppearance.e_FlagFont 时,请确保这是一个有效的字体对象。 |
| [in] | text_size | 当参数flags包含com.foxit.sdk.pdf.annots.DefaultAppearance.e_FlagFontSize 时, 默认外观的字体大小。通常应该大于0。 对于某些对象,大小0有特殊含义。请参考用于将默认外观数据设置为其他对象的函数注释。 |
| [in] | text_color | 默认外观的文本颜色。格式:0xRRGGBB。 |
| com.foxit.sdk.pdf.annots.DefaultAppearance.setFlags | ( | int | value | ) |
Set 指示默认外观的哪些属性是有意义的标志。
请参考从com.foxit.sdk.pdf.annots.DefaultAppearance.e_FlagFont 开始的值, 这可以是这些值中的一个或组合。 0表示默认外观的任何属性都不是有意义的。
| [in] | value | 指示默认外观的哪些属性是有意义的标志。 |
| com.foxit.sdk.pdf.annots.DefaultAppearance.setFont | ( | Font | value | ) |
Set 默认外观的字体。当它有用时,应该是一个有效的字体对象。
| [in] | value | 默认外观的字体。当它有用时,应该是一个有效的字体对象。 |
| com.foxit.sdk.pdf.annots.DefaultAppearance.setText_color | ( | long | value | ) |
Set 默认外观的文本颜色。格式:0xRRGGBB。
| [in] | value | 默认外观的文本颜色。格式:0xRRGGBB。 |
| com.foxit.sdk.pdf.annots.DefaultAppearance.setText_size | ( | float | value | ) |
Set 默认外观的文本大小。
当它有用时,通常应该大于0。对于某些对象,大小0有特殊含义。 请参考用于将默认外观数据设置为其他对象的函数注释。
| [in] | value | 默认外观的文本大小。 |