THPDFPage 高级方法

本页列出 THPDFPage 中适用于专门生成工作流和兼容性代码的高级 public 方法

标记与富批注

AddHighlightAnnotation, AddUnderlineAnnotation, AddSquigglyAnnotation, AddStrikeOutAnnotation, AddPolylineAnnotation, AddPolygonAnnotation, AddInkAnnotation, AddCaretAnnotation, AddScreenAnnotation, AddWatermarkAnnotation, AddRedactAnnotation, Add3DAnnotation, AddRichMediaAnnotation, AddPopupAnnotation - 创建审阅、多媒体、水印、涂黑、3D、富媒体和弹出批注

HPDFDefaultLineExtrasHPDFDefaultPolyExtras 返回零初始化的 extras 记录,让调用方只设置所需的可选线条或多边形注释字段 The returned records are THPDFLineExtras and THPDFPolyExtras

按钮动作扩展

AddPushButtonWithHideAction, AddPushButtonWithSubmitAction, AddPushButtonWithNextAction, AddPushButtonWithRenditionAction, AddPushButtonWithSoundAction, AddPushButtonWithMovieAction - 为字段显隐、表单提交、动作链、Rendition 媒体、声音和旧式 Movie 播放添加按钮动作

页面框与显示控制

SetCropBox, SetBleedBox, SetTrimBox, SetArtBox, SetPageRotation, SetUserUnit, SetTabsOrder, DocScale - 控制印刷生产页面框、旋转、大页面单位缩放、批注 Tab 顺序和旧式绘图缩放

透明度与可选内容

SetTransparencyGroup, SetTransparencyGroupICC, ClearTransparencyGroup, BeginOptionalContent, EndOptionalContent - 控制页面透明度组,并将绘图操作包装进文档中注册的可选内容层

文本、字体、条码与兼容性辅助

BeginMarkedContentMCIDProps, SetType3Font, SetCharacterSpacing, SetTextMatrix, MoveToNextLine, SetRGBHyperlinkColor, FMEllipse, MFRectangle, DirectDrawBarcode, TextOutStr, OutText, RtLTextOutStr, SetFontAndSize, ShowMetafileEx, Debug_GetProcessedRtlString, ProcessFont - 覆盖底层文本状态、Type 3 字体、超链接颜色、条码输出、兼容别名和诊断辅助

数字签名字段辅助方法

AttachPAdESSeedValue - 把 PAdES seed-value 字典附加到已有签名字段,使阅读器可在签名前提示摘要、子过滤器、原因、位置、联系方式、时间戳和证书约束。先用 AddPAdESSignatureField 或其他签名字段辅助方法创建字段,再用字段名和 THPDFPAdESSeedValue 设置调用 AttachPAdESSeedValue

另请参阅