|
THPDFPage Advanced Methods
This page lists advanced public THPDFPage methods used in specialised authoring workflows and compatibility code
Markup and Rich Annotations
AddHighlightAnnotation, AddUnderlineAnnotation, AddSquigglyAnnotation, AddStrikeOutAnnotation, AddPolylineAnnotation, AddPolygonAnnotation, AddInkAnnotation, AddCaretAnnotation, AddScreenAnnotation, AddWatermarkAnnotation, AddRedactAnnotation, Add3DAnnotation, AddRichMediaAnnotation, AddPopupAnnotation - create review, multimedia, watermark, redaction, 3D, rich-media, and popup annotations
HPDFDefaultLineExtras and HPDFDefaultPolyExtras return zero-initialised extras records so callers can set only the optional line or polygon annotation fields they need The returned records are THPDFLineExtras and THPDFPolyExtras
Button Action Extensions
AddPushButtonWithHideAction, AddPushButtonWithSubmitAction, AddPushButtonWithRenditionAction, AddPushButtonWithSoundAction, AddPushButtonWithMovieAction - add specialised push-button actions for field visibility, form submission, rendition media, sound, and legacy movie playback
Page Boxes and Display Controls
SetCropBox, SetBleedBox, SetTrimBox, SetArtBox, SetPageRotation, SetUserUnit, SetTabsOrder, DocScale - control production boxes, rotation, large-page unit scaling, annotation tab order, and legacy drawing scale
Transparency and Optional Content
SetTransparencyGroup, SetTransparencyGroupICC, ClearTransparencyGroup, BeginOptionalContent, EndOptionalContent - control page transparency groups and wrap drawing operations in optional-content layers registered on the document
Text, Fonts, Barcodes, and Compatibility Helpers
BeginMarkedContentMCIDProps, SetType3Font, SetCharacterSpacing, SetTextMatrix, MoveToNextLine, SetRGBHyperlinkColor, FMEllipse, MFRectangle, DirectDrawBarcode, TextOutStr, OutText, RtLTextOutStr, SetFontAndSize, ShowMetafileEx, Debug_GetProcessedRtlString, ProcessFont - cover low-level text state, Type 3 font selection, hyperlink colour, barcode output, compatibility aliases, and diagnostic helpers
Digital Signature Field Helpers
AttachPAdESSeedValue - Attach a PAdES seed-value dictionary to an existing signature field so the viewer can advertise digest, subfilter, reason, location, contact, timestamp, and certificate constraints before signing. Create the field with AddPAdESSignatureField or another signature-field helper first, then call AttachPAdESSeedValue with the field name and THPDFPAdESSeedValue settings
See Also
|