|
Foxit PDF SDK
|
Public 成员函数 | |
| Redact () | |
| 构造函数。 | |
| Redact (Annot annot) | |
| 构造函数,使用父类对象。 更多... | |
| boolean | apply () throws com.foxit.sdk.PDFException |
| 应用当前编辑注释:永久移除注释矩形下的文本、图形和注释。 更多... | |
| synchronized void | delete () |
| 直接清除C++相关资源。 更多... | |
| void | enableAutoFontSize () throws com.foxit.sdk.PDFException |
| 为覆盖文本启用自动字体大小。 更多... | |
| void | enableRepeatOverlayText (boolean is_to_repeat_overlay_text) throws com.foxit.sdk.PDFException |
| 设置标志以决定是否重复覆盖文本。 更多... | |
| long | getApplyFillColor () throws com.foxit.sdk.PDFException |
| 获取用于翻转外观的填充颜色,将在应用编辑后使用。 更多... | |
| DefaultAppearance | getDefaultAppearance () throws com.foxit.sdk.PDFException |
| 获取默认外观数据。 更多... | |
| long | getFillColor () throws com.foxit.sdk.PDFException |
| 获取填充颜色。 更多... | |
| String | getOverlayText () throws com.foxit.sdk.PDFException |
| 获取覆盖文本。 更多... | |
| int | getOverlayTextAlignment () throws com.foxit.sdk.PDFException |
| 获取覆盖文本的对齐值。 更多... | |
| QuadPointsArray | getQuadPoints () throws com.foxit.sdk.PDFException |
| 获取四边形。 更多... | |
| boolean | isOverlayTextRepeated () throws com.foxit.sdk.PDFException |
| 检查覆盖文本是否重复。 更多... | |
| void | setApplyFillColor (long fill_color) throws com.foxit.sdk.PDFException |
| 设置用于翻转外观的填充颜色,将在应用编辑后使用。 更多... | |
| boolean | setDefaultAppearance (DefaultAppearance default_ap) throws com.foxit.sdk.PDFException |
| 设置默认外观数据。 更多... | |
| void | setFillColor (long fill_color) throws com.foxit.sdk.PDFException |
| 设置填充颜色。 更多... | |
| void | setOverlayText (String overlay_text) throws com.foxit.sdk.PDFException |
| 设置覆盖文本。 更多... | |
| void | setOverlayTextAlignment (int alignment) throws com.foxit.sdk.PDFException |
| 设置覆盖文本的对齐值。 更多... | |
| void | setQuadPoints (QuadPointsArray quad_points_array) throws com.foxit.sdk.PDFException |
| 设置四边形。 更多... | |
Public 成员函数 继承自 com.foxit.sdk.pdf.annots.Markup | |
| Markup () | |
| 构造函数 | |
| Markup (Annot annot) | |
| 构造函数,使用父类对象。 更多... | |
| Note | addReply () throws com.foxit.sdk.PDFException |
| 在回复列表的末尾添加新回复。 更多... | |
| void | addRichText (String content, RichTextStyle style) throws com.foxit.sdk.PDFException |
| 在末尾添加新的富文本字符串。 更多... | |
| Note | addStateAnnot (String title, int model, int state) throws com.foxit.sdk.PDFException |
| 添加新的状态注释。 更多... | |
| float | getBorderOpacity () throws com.foxit.sdk.PDFException |
| 获取注释的边框透明度。 更多... | |
| DateTime | getCreationDateTime () throws com.foxit.sdk.PDFException |
| 获取创建日期时间。 更多... | |
| float | getFillOpacity () throws com.foxit.sdk.PDFException |
| 获取注释的填充透明度。 更多... | |
| MarkupArray | getGroupElements () throws com.foxit.sdk.PDFException |
| 从当前标记注释所属的组中获取一个元素(作为标记注释)。 更多... | |
| Markup | getGroupHeader () throws com.foxit.sdk.PDFException |
| 获取当前标记注释所属组的头注释(作为主注释)。 更多... | |
| String | getIntent () throws com.foxit.sdk.PDFException |
| 获取意图名称。 更多... | |
| float | getOpacity () throws com.foxit.sdk.PDFException |
| 获取不透明度值。 更多... | |
| Popup | getPopup () throws com.foxit.sdk.PDFException |
| 获取相关的弹出注释。 更多... | |
| Note | getReply (int index) throws com.foxit.sdk.PDFException |
| 按索引获取回复。 更多... | |
| int | getReplyCount () throws com.foxit.sdk.PDFException |
| 计算所有回复。 更多... | |
| String | getRichTextContent (int index) throws com.foxit.sdk.PDFException |
| 获取指定索引的富文本字符串的文本字符串。 更多... | |
| int | getRichTextCount () throws com.foxit.sdk.PDFException |
| 获取富文本字符串的数量。 更多... | |
| RichTextStyle | getRichTextStyle (int index) throws com.foxit.sdk.PDFException |
| 获取指定索引的富文本字符串的样式数据。 更多... | |
| NoteArray | getStateAnnots (int model) throws com.foxit.sdk.PDFException |
| 获取指定状态模型中的所有状态注释。 更多... | |
| String | getSubject () throws com.foxit.sdk.PDFException |
| 获取主题字符串。 更多... | |
| String | getTitle () throws com.foxit.sdk.PDFException |
| 获取标题字符串。 更多... | |
| void | insertRichText (int index, String content, RichTextStyle style) throws com.foxit.sdk.PDFException |
| 在指定索引位置插入新的富文本字符串。 更多... | |
| boolean | isGrouped () throws com.foxit.sdk.PDFException |
| 检查当前标记注释是否在组中。 更多... | |
| boolean | removeAllReplies () throws com.foxit.sdk.PDFException |
| 删除所有回复。 更多... | |
| boolean | removeAllStateAnnots () throws com.foxit.sdk.PDFException |
| 移除所有状态注释。 更多... | |
| boolean | removePopup () throws com.foxit.sdk.PDFException |
| 删除相关的弹出注释。 更多... | |
| boolean | removeReply (int index) throws com.foxit.sdk.PDFException |
| 按索引删除回复。 更多... | |
| void | removeRichText (int index) throws com.foxit.sdk.PDFException |
| 移除指定索引的富文本字符串。 更多... | |
| void | setBorderOpacity (float opacity) throws com.foxit.sdk.PDFException |
| 设置注释的边框透明度。 更多... | |
| void | setCreationDateTime (DateTime date_time) throws com.foxit.sdk.PDFException |
| 设置创建日期时间。 更多... | |
| void | setFillOpacity (float opacity) throws com.foxit.sdk.PDFException |
| 设置注释的填充透明度。 更多... | |
| void | setIntent (String intent) throws com.foxit.sdk.PDFException |
| 设置意图名称。 更多... | |
| void | setOpacity (float opacity) throws com.foxit.sdk.PDFException |
| 设置不透明度值。 更多... | |
| void | setPopup (Popup popup) throws com.foxit.sdk.PDFException |
| 设置相关的弹出注释。 更多... | |
| void | setRichTextContent (int index, String content) throws com.foxit.sdk.PDFException |
| 设置指定索引的富文本字符串的文本字符串。 更多... | |
| void | setRichTextStyle (int index, RichTextStyle style) throws com.foxit.sdk.PDFException |
| 设置指定索引的富文本字符串的样式数据。 更多... | |
| void | setSubject (String subject) throws com.foxit.sdk.PDFException |
| 设置主题字符串。 更多... | |
| void | setTitle (String title) throws com.foxit.sdk.PDFException |
| 设置标题字符串。 更多... | |
| boolean | ungroup () throws com.foxit.sdk.PDFException |
| 将当前标记注释从其所属的组中解组。 更多... | |
Public 成员函数 继承自 com.foxit.sdk.pdf.annots.Annot | |
| Annot () | |
| 构造函数。 | |
| Annot (Annot annot) | |
| 构造函数,使用另一个注释对象。 更多... | |
| Annot (PDFPage page, PDFDictionary annot_dict) throws com.foxit.sdk.PDFException | |
| 构造函数,使用PDF页面和注释的PDF字典。 更多... | |
| PDFStream | getAppearanceStream (int type, String appearance_state) throws com.foxit.sdk.PDFException |
| 获取具有指定类型和状态的注释外观流。 更多... | |
| long | getBorderColor () throws com.foxit.sdk.PDFException |
| 获取边框颜色。 更多... | |
| BorderInfo | getBorderInfo () throws com.foxit.sdk.PDFException |
| 获取边框信息。 更多... | |
| String | getContent () throws com.foxit.sdk.PDFException |
| 获取内容。 更多... | |
| RectI | getDeviceRect (Matrix2D matrix) throws com.foxit.sdk.PDFException |
| 获取设备坐标系统中的注释矩形。 更多... | |
| PDFDictionary | getDict () throws com.foxit.sdk.PDFException |
| 获取注释的字典对象。 更多... | |
| Matrix2D | getDisplayMatrix (Matrix2D page_display_matrix) throws com.foxit.sdk.PDFException |
| 获取显示矩阵,从到 目标设备坐标系统。 更多... | |
| int | getFlags () throws com.foxit.sdk.PDFException |
| 获取注释标志。 更多... | |
| int | getIndex () throws com.foxit.sdk.PDFException |
| 获取当前注释在其所属页面中的索引。 更多... | |
| DateTime | getModifiedDateTime () throws com.foxit.sdk.PDFException |
| 获取最后修改日期时间。 更多... | |
| PDFDictionary | getOptionalContent () throws com.foxit.sdk.PDFException |
| 获取注释可选内容的PDF字典。 更多... | |
| PDFPage | getPage () throws com.foxit.sdk.PDFException |
| 获取相关的PDF页面。 更多... | |
| RectF | getRect () throws com.foxit.sdk.PDFException |
| 获取矩形,以表示。 更多... | |
| int | getType () throws com.foxit.sdk.PDFException |
| 获取当前注释的实际注释类型。 更多... | |
| String | getUniqueID () throws com.foxit.sdk.PDFException |
| 获取唯一ID。 更多... | |
| boolean | hasProperty (int property) throws com.foxit.sdk.PDFException |
| 当前注释是否具有指定的注释属性。 更多... | |
| boolean | isEmpty () |
| 检查当前对象是否为空。 更多... | |
| boolean | isMarkup () throws com.foxit.sdk.PDFException |
| 检查当前注释是否为标记注释。 更多... | |
| boolean | move (RectF rect) throws com.foxit.sdk.PDFException |
| 将当前注释移动到新位置,由中的新矩形指定。 更多... | |
| boolean | move (RectF rect, boolean is_reset_appearance) throws com.foxit.sdk.PDFException |
| 将当前注释移动到新位置,由中的新矩形指定。 更多... | |
| boolean | removeProperty (int property) throws com.foxit.sdk.PDFException |
| 删除指定的注释属性。 更多... | |
| boolean | resetAppearanceStream () throws com.foxit.sdk.PDFException |
| 重置外观流。 更多... | |
| boolean | resetAppearanceStream (boolean is_generate_new_appearance_obj) throws com.foxit.sdk.PDFException |
| 重置外观流。 更多... | |
| void | setBorderColor (long color) throws com.foxit.sdk.PDFException |
| 设置边框颜色。 更多... | |
| void | setBorderInfo (BorderInfo border) throws com.foxit.sdk.PDFException |
| 设置边框信息。 更多... | |
| void | setContent (String content) throws com.foxit.sdk.PDFException |
| 设置内容。 更多... | |
| void | setFlags (int flags) throws com.foxit.sdk.PDFException |
| 设置注释标志。 更多... | |
| void | setModifiedDateTime (DateTime date_time) throws com.foxit.sdk.PDFException |
| 设置最后修改日期时间。 更多... | |
| void | setUniqueID (String unique_id) throws com.foxit.sdk.PDFException |
| 设置唯一ID。 更多... | |
额外继承的成员函数 | |
静态 Public 属性 继承自 com.foxit.sdk.pdf.annots.Markup | |
| static final int | e_EndingStyleButt = 6 |
| 端点处垂直于线条本身的短线。 | |
| static final int | e_EndingStyleCircle = 2 |
| 用注释的内部颜色填充的圆形(如果有)。 | |
| static final int | e_EndingStyleClosedArrow = 5 |
| 两条短线以锐角相交(如OpenArrow样式),并由第三条线连接, 形成用注释的内部颜色填充的三角形闭合箭头(如果有)。 | |
| static final int | e_EndingStyleDiamond = 3 |
| 用注释的内部颜色填充的菱形(如果有)。 | |
| static final int | e_EndingStyleNone = 0 |
| 无特殊线条端点。 | |
| static final int | e_EndingStyleOpenArrow = 4 |
| 两条短线以锐角相交形成开放箭头。 | |
| static final int | e_EndingStyleRClosedArrow = 8 |
| 与ClosedArrow方向相反的三角形闭合箭头。 | |
| static final int | e_EndingStyleROpenArrow = 7 |
| 与OpenArrow方向相反的两条短线。 | |
| static final int | e_EndingStyleSlash = 9 |
| 端点处与线条垂直方向约顺时针30度的短线。 | |
| static final int | e_EndingStyleSquare = 1 |
| 用注释的内部颜色填充的正方形(如果有)。 | |
| static final int | e_MeasureTypeA = 3 |
| 面积的测量。 | |
| static final int | e_MeasureTypeD = 2 |
| 任意方向距离的测量。 | |
| static final int | e_MeasureTypeS = 5 |
| 直线斜率的测量。 | |
| static final int | e_MeasureTypeT = 4 |
| 角度的测量。 | |
| static final int | e_MeasureTypeX = 0 |
| 沿x轴变化的测量。 | |
| static final int | e_MeasureTypeY = 1 |
| 沿y轴变化的测量。 | |
| static final int | e_StateAccepted = 3 |
| (与状态模型com.foxit.sdk.pdf.annots.Markup.e_StateModelReview 一起使用) 用户同意更改。 | |
| static final int | e_StateCancelled = 5 |
| (与状态模型com.foxit.sdk.pdf.annots.Markup.e_StateModelReview 一起使用) 更改已被取消。 | |
| static final int | e_StateCompleted = 6 |
| (与状态模型com.foxit.sdk.pdf.annots.Markup.e_StateModelReview 一起使用) 更改已完成。 | |
| static final int | e_StateDeferred = 7 |
| (与状态模型com.foxit.sdk.pdf.annots.Markup.e_StateModelReview 一起使用) 更改已延期。 | |
| static final int | e_StateFuture = 8 |
| (与状态模型com.foxit.sdk.pdf.annots.Markup.e_StateModelReview 一起使用) 更改将在将来进行。 | |
| static final int | e_StateMarked = 1 |
| (与状态模型com.foxit.sdk.pdf.annots.Markup.e_StateModelMarked 一起使用) 注释已被用户标记。 | |
| static final int | e_StateModelMarked = 1 |
| 标记注释状态模型:已标记。 | |
| static final int | e_StateModelReview = 2 |
| 标记注释状态模型:审阅。 | |
| static final int | e_StateNone = 0 |
| (与状态模型com.foxit.sdk.pdf.annots.Markup.e_StateModelReview 一起使用) 用户没有对更改表示任何意见。 | |
| static final int | e_StateRejected = 4 |
| (与状态模型com.foxit.sdk.pdf.annots.Markup.e_StateModelReview 一起使用) 用户不同意更改。 | |
| static final int | e_StateUnmarked = 2 |
| (与状态模型com.foxit.sdk.pdf.annots.Markup.e_StateModelMarked 一起使用) 注释尚未被用户标记。 | |
静态 Public 属性 继承自 com.foxit.sdk.pdf.annots.Annot | |
| static final int | e_3D = 25 |
| 注释类型:3D注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_AppearanceTypeDown = 2 |
| 注释的按下外观。 | |
| static final int | e_AppearanceTypeNormal = 0 |
| 注释的正常外观。 | |
| static final int | e_AppearanceTypeRollover = 1 |
| 注释的悬停外观。 | |
| static final int | e_Caret = 14 |
| 注释类型:插入符注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_Circle = 6 |
| 注释类型:圆形注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_FileAttachment = 17 |
| 注释类型:文件附件注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_FlagHidden = 0x0002 |
| 注释标志:隐藏。 更多... | |
| static final int | e_FlagInvisible = 0x0001 |
| 注释标志:不可见。 更多... | |
| static final int | e_FlagLocked = 0x0080 |
| 注释标志:锁定。 更多... | |
| static final int | e_FlagLockedContents = 0x0200 |
| 注释标志:锁定内容。 更多... | |
| static final int | e_FlagNoRotate = 0x0010 |
| 注释标志:无旋转。 更多... | |
| static final int | e_FlagNoView = 0x0020 |
| 注释标志:无视图。 更多... | |
| static final int | e_FlagNoZoom = 0x0008 |
| 注释标志:无缩放。 更多... | |
| static final int | e_FlagPrint = 0x0004 |
| 注释标志:打印。 更多... | |
| static final int | e_FlagReadOnly = 0x0040 |
| 注释标志:只读。 更多... | |
| static final int | e_FlagToggleNoView = 0x0100 |
| 注释标志:切换无视图。 更多... | |
| static final int | e_FreeText = 3 |
| 注释类型:自由文本注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_Highlight = 9 |
| 注释类型:高亮注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_HighlightingInvert = 1 |
| 高亮模式:反转,即反转注释矩形的内容。 | |
| static final int | e_HighlightingNone = 0 |
| 高亮模式:无高亮。 | |
| static final int | e_HighlightingOutline = 2 |
| 高亮模式:轮廓,即反转注释的边框。 | |
| static final int | e_HighlightingPush = 3 |
| 高亮模式:按下,即显示注释的按下外观(如果有)。 | |
| static final int | e_HighlightingToggle = 4 |
| 高亮模式:切换。这仅对小组件注释有用。 | |
| static final int | e_Ink = 15 |
| 注释类型:墨迹注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_Line = 4 |
| 注释类型:直线注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_Link = 2 |
| 注释类型:链接注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_MKEntryBackgroundColor = 2 |
| 背景颜色条目。MK字典中的"BG"。 | |
| static final int | e_MKEntryBorderColor = 1 |
| 边框颜色条目。MK字典中的"BC"。 | |
| static final int | e_MKEntryDownCaption = 5 |
| 按下标题(或备用标题)条目。MK字典中的"AC"。 更多... | |
| static final int | e_MKEntryDownIcon = 8 |
| 按下图标(或备用图标)条目。MK字典中的"IX"。 更多... | |
| static final int | e_MKEntryIconCaptionRelation = 10 |
| 图标和标题关系条目。MK字典中的"TP"。 更多... | |
| static final int | e_MKEntryIconFit = 9 |
| 图标适配信息条目。MK字典中的"IF"。 更多... | |
| static final int | e_MKEntryNormalCaption = 3 |
| 正常标题条目。MK字典中的"CA"。 更多... | |
| static final int | e_MKEntryNormalIcon = 6 |
| 正常图标条目。MK字典中的"I"。 更多... | |
| static final int | e_MKEntryRolloverCaption = 4 |
| 悬停标题条目。MK字典中的"RC"。 更多... | |
| static final int | e_MKEntryRolloverIcon = 7 |
| 悬停图标条目。MK字典中的"RI"。 更多... | |
| static final int | e_MKEntryRotation = 0 |
| 旋转条目。MK字典中的"R"。 | |
| static final int | e_MKRelationCaptionAboveIcon = 3 |
| 标题在图标上方。 | |
| static final int | e_MKRelationCaptionBelowIcon = 2 |
| 标题在图标下方。 | |
| static final int | e_MKRelationCaptionLeft = 5 |
| 标题在图标左侧。 | |
| static final int | e_MKRelationCaptionOvrlayOnIcon = 6 |
| 标题直接覆盖在图标上。 | |
| static final int | e_MKRelationCaptionRight = 4 |
| 标题在图标右侧。 | |
| static final int | e_MKRelationNoCaption = 1 |
| 无标题;仅图标。 | |
| static final int | e_MKRelationNoIcon = 0 |
| 无图标;仅标题。 | |
| static final int | e_Movie = 19 |
| 注释类型:电影注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_Note = 1 |
| 注释类型:注记注释,即"文本"注释 - <PDF参考1.7>中的标准注释之一。 | |
| static final int | e_PagingSeal = 29 |
| 注释类型:分页印章注释。福昕PDF SDK自定义注释类型(非标准注释类型)。 | |
| static final int | e_Polygon = 7 |
| 注释类型:多边形注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_PolyLine = 8 |
| 注释类型:折线注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_Popup = 26 |
| 注释类型:弹出注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_PrinterMark = 22 |
| 注释类型:印刷标记注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_PropertyBorderColor = 2 |
| 注释属性:边框颜色。 更多... | |
| static final int | e_PropertyCreationDate = 1 |
| 注释属性:创建日期。 更多... | |
| static final int | e_PropertyFillColor = 3 |
| 注释属性:填充颜色 更多... | |
| static final int | e_PropertyModifiedDate = 0 |
| 注释属性:修改日期。 | |
| static final int | e_PSInk = 16 |
| 注释类型:压力敏感墨迹注释。 | |
| static final int | e_Redact = 27 |
| 注释类型:编辑注释。 | |
| static final int | e_RichMedia = 28 |
| 注释类型:富媒体注释。 | |
| static final int | e_Screen = 21 |
| 注释类型:屏幕注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_Sound = 18 |
| 注释类型:声音注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_Square = 5 |
| 注释类型:矩形注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_Squiggly = 11 |
| 注释类型:波浪线注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_Stamp = 13 |
| 注释类型:印章注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_StrikeOut = 12 |
| 注释类型:删除线注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_TrapNet = 23 |
| 注释类型:陷阱网络注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_Underline = 10 |
| 注释类型:下划线注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_UnknownType = 0 |
| 注释类型:未知。 | |
| static final int | e_Watermark = 24 |
| 注释类型:水印注释。<PDF参考1.7>中的标准注释之一。 | |
| static final int | e_Widget = 20 |
| 注释类型:小组件注释。<PDF参考1.7>中的标准注释之一。 更多... | |
类Redact 表示福昕自定义注释类型(不是标准注释类型)。这种注释 用于标记PDF页面的一些内容,当编辑注释被应用时,这些内容将被移除。现有的编辑注释可以通过函数 pdf.PDFPage.getAnnot 和pdf.PDFPage.getAnnotAtPoint 从PDF页面获取。 新的编辑注释由函数addon.Redaction.markRedactAnnot 返回,而不是pdf.PDFPage.addAnnot 。
类com.foxit.sdk.pdf.annots.Redact 派生自类Markup ,还提供获取/设置 编辑注释的标记注释基本属性的函数。 目前,Annot.setBorderInfo 可以用于编辑注释,但不会 对编辑注释的外观产生任何影响。 此外,编辑注释不能通过函数Annot.move 移动。
| com.foxit.sdk.pdf.annots.Redact.Redact | ( | Annot | annot | ) |
构造函数,使用父类对象。
| [in] | annot | 父类对象。 |
| boolean com.foxit.sdk.pdf.annots.Redact.apply | ( | ) | throws com.foxit.sdk.PDFException |
应用当前编辑注释:永久移除注释矩形下的文本、图形和注释。
一旦此函数成功调用,当前编辑注释矩形区域内的所有页面内容(文本对象、图像对象和路径对象) 和注释都将被永久移除。但是,如果其他编辑注释与当前编辑相交或包含在当前编辑内, 它们将不会被删除。对于当前编辑注释,它也将被移除(如果有弹出注释的话也一并移除)
| synchronized void com.foxit.sdk.pdf.annots.Redact.delete | ( | ) |
| void com.foxit.sdk.pdf.annots.Redact.enableAutoFontSize | ( | ) | throws com.foxit.sdk.PDFException |
为覆盖文本启用自动字体大小。
| void com.foxit.sdk.pdf.annots.Redact.enableRepeatOverlayText | ( | boolean | is_to_repeat_overlay_text | ) | throws com.foxit.sdk.PDFException |
设置标志以决定是否重复覆盖文本。
| [in] | is_to_repeat_overlay_text | true表示重复覆盖文本,而false表示不重复。 默认值:false。 |
| long com.foxit.sdk.pdf.annots.Redact.getApplyFillColor | ( | ) | throws com.foxit.sdk.PDFException |
获取用于翻转外观的填充颜色,将在应用编辑后使用。
| DefaultAppearance com.foxit.sdk.pdf.annots.Redact.getDefaultAppearance | ( | ) | throws com.foxit.sdk.PDFException |
获取默认外观数据。
此属性对编辑注释的外观有影响。默认外观数据可用于 格式化文本。
| long com.foxit.sdk.pdf.annots.Redact.getFillColor | ( | ) | throws com.foxit.sdk.PDFException |
获取填充颜色。
| String com.foxit.sdk.pdf.annots.Redact.getOverlayText | ( | ) | throws com.foxit.sdk.PDFException |
获取覆盖文本。
| int com.foxit.sdk.pdf.annots.Redact.getOverlayTextAlignment | ( | ) | throws com.foxit.sdk.PDFException |
获取覆盖文本的对齐值。
此属性对编辑注释外观的覆盖文本有影响。
| QuadPointsArray com.foxit.sdk.pdf.annots.Redact.getQuadPoints | ( | ) | throws com.foxit.sdk.PDFException |
获取四边形。
四边形中点的顺序应该是:
| boolean com.foxit.sdk.pdf.annots.Redact.isOverlayTextRepeated | ( | ) | throws com.foxit.sdk.PDFException |
检查覆盖文本是否重复。
| void com.foxit.sdk.pdf.annots.Redact.setApplyFillColor | ( | long | fill_color | ) | throws com.foxit.sdk.PDFException |
设置用于翻转外观的填充颜色,将在应用编辑后使用。
| [in] | fill_color | 要设置的新填充颜色。格式:0xRRGGBB。 |
| boolean com.foxit.sdk.pdf.annots.Redact.setDefaultAppearance | ( | DefaultAppearance | default_ap | ) | throws com.foxit.sdk.PDFException |
设置默认外观数据。
此属性对编辑注释的外观有影响。默认外观数据可用于 格式化文本。
如果用户希望新的默认外观数据对注释的外观产生影响, 请在设置新的默认外观数据后调用函数Annot.resetAppearanceStream 。
| [in] | default_ap | 要设置的新默认外观数据。 输入数据的flags可用于决定哪些信息将 使用新数据更新;对于那些未更新的数据,它们将继续使用旧数据。 |
| void com.foxit.sdk.pdf.annots.Redact.setFillColor | ( | long | fill_color | ) | throws com.foxit.sdk.PDFException |
设置填充颜色。
| [in] | fill_color | 要设置的新填充颜色。格式:0xRRGGBB。 |
| void com.foxit.sdk.pdf.annots.Redact.setOverlayText | ( | String | overlay_text | ) | throws com.foxit.sdk.PDFException |
设置覆盖文本。
| [in] | overlay_text | 要设置的覆盖文本字符串。 |
| void com.foxit.sdk.pdf.annots.Redact.setOverlayTextAlignment | ( | int | alignment | ) | throws com.foxit.sdk.PDFException |
设置覆盖文本的对齐值。
此属性对编辑注释外观的覆盖文本有影响。如果用户希望新对齐对 注释外观的覆盖文本产生影响,请在设置新对齐后调用函数 Annot.resetAppearanceStream 。
| [in] | alignment | 新的对齐值。请参考从com.foxit.sdk.common.Constants.e_AlignmentLeft 开始的值, 这应该是这些值中的一个。 |
| void com.foxit.sdk.pdf.annots.Redact.setQuadPoints | ( | QuadPointsArray | quad_points_array | ) | throws com.foxit.sdk.PDFException |
设置四边形。
此属性对编辑注释的外观有影响。四边形中点的顺序应该是:
如果用户希望新四边形对注释的外观产生影响,请在设置四边形后 调用函数Annot.resetAppearanceStream 。
| [in] | quad_points_array | 有效的四边形数组。它不应该是空数组。 |