THotPDF Methods

 

THotPDF Methods

 

Top 

 

Create

Destroy

BeginDoc

EndDoc

AddImage

AddPage

EnablePubKeyEncryption

AddPubKeyRecipient

Utility methods

Advanced workflow helpers and runtime flags

Advanced workflow methods

SetPageLabel

SetDecimalPageLabel

SetUpperRomanPageLabel

SetLowerRomanPageLabel

SetUpperLettersPageLabel

SetLowerLettersPageLabel

ClearPageLabels

SetDocumentCloseAction

ClearDocumentCloseAction

SetDocumentWillSaveAction

ClearDocumentWillSaveAction

SetDocumentDidSaveAction

ClearDocumentDidSaveAction

SetDocumentWillPrintAction

ClearDocumentWillPrintAction

SetDocumentDidPrintAction

ClearDocumentDidPrintAction

SetPageAdditionalAction

SetPageOpenAction

SetPageCloseAction

ClearPageAdditionalAction

ClearPageOpenAction

ClearPageCloseAction

RegisterArticleThread

Text shaping and font-output APIs: ShapingFeatures, SimpleLatinFonts, GSUB script/language, GSUB lookup, GPOS, Indic shaping, Tibetan/Mongolian/Syriac shaping, script shaping preprocess, subset and ToUnicode mapping

BeginIncrementalUpdate

MarkDirty

SaveIncrementalUpdate

DecryptLoadedDocument

AddEDIFACTSupplementaryFile

GetLoadedFacturXAttachments

GetLoadedInvoiceSummary

GetLoadedPDFAIssues

ValidateVisualXmlConsistency

AddUBLSupplementaryFile

ExtractLoadedPageGlyphs

ExtractLoadedPageText

GetLoadedFontDecoder

GetLoadedPageContentBytes

RenderLoadedPageToBitmap

ReplaceLoadedDocumentText

ReplaceLoadedPageText

SearchLoadedDocumentText

SearchLoadedPageText

WriteRebuiltStream

ExportLoadedFormToXFDF

ImportLoadedFormFromXFDF

ExportLoadedAnnotationsToXFDF

ImportLoadedAnnotationsFromXFDF

Direct File API: DAOpenFileReadOnly, DACloseFile, DACopyFile, DASaveAsFile, DAGetPageCount, DAGetObjectCount, DAGetObjectSource, DAReplaceObjectSource, DAAppendObjectSource, DASetDocumentInfo, DATryBuildTraditionalFileState, DAParseXRefStreamSection, DAReadCompressedObjectBody

Use the Direct File API for large existing PDFs that need file-backed opening, page-count plus original-copy workflows, object-source inspection or replacement, document-info updates, and full rewritten output without loading every stream into the normal object graph.

The low-level Direct File helpers DATryBuildTraditionalFileState, DAParseXRefStreamSection, and DAReadCompressedObjectBody are available for stream-backed workflows that need to build THPDFDirectFileState, parse xref stream sections, or read an object body from an object stream before calling the higher-level DA* actions

Preflight report methods

ExtractLoadedPageTextLayout

FindLoadedOutlineByTitle

FindLoadedSignatureFieldDict

GetLoadedOutlineTitlesDeep

GetLoadedSignatureFieldName

GetLoadedSignatureInfo

InvalidateRenderedPageCache

ReadLoadedSignatureDict

RenderLoadedPageToBitmapCached

ResolveLoadedOutlineDestPage

SaveAllLoadedEmbeddedFiles

SaveLoadedPagesToTiff

SaveLoadedPagesToTiffStream

VerifyAllLoadedSignatures

VerifyLoadedSignature

VerifyLoadedSignatureEx

Page operation methods

FindLoadedBookmarkPageIndex

GetLoadedPageBox

Loaded form field methods

SetFormFieldTooltip

SetFormFieldAdditionalAction

ClearFormFieldAdditionalAction

SetFormFieldKeyStrokeAction

ClearFormFieldKeyStrokeAction

SetFormFieldFormatAction

ClearFormFieldFormatAction

SetFormFieldValidateAction

ClearFormFieldValidateAction

SetFormFieldCalculateAction

ClearFormFieldCalculateAction

SetFormFieldAnnotationAction

ClearFormFieldAnnotationAction

SetFormFieldMouseEnterAction

ClearFormFieldMouseEnterAction

SetFormFieldMouseExitAction

ClearFormFieldMouseExitAction

SetFormFieldMouseDownAction

ClearFormFieldMouseDownAction

SetFormFieldMouseUpAction

ClearFormFieldMouseUpAction

SetFormFieldSetFocusAction

ClearFormFieldSetFocusAction

SetFormFieldLostFocusAction

ClearFormFieldLostFocusAction

RegisterFormXObject

RegisterLineGraphicsState

RegisterOptionalContentRadioGroup

BeginOptionalContentOrderGroup

EndOptionalContentOrderGroup

AddLayerToOptionalContentOrder

SetOptionalContentGroupUsage

HPDFEscapeLoadedText

MakeLoadedContentsArray

EnsureUncompressedLoadedStream

HPDFEllipseToOps

ExtractLoadedPageTextColumns

SearchLoadedPageTextWholeWord

GetLoadedSearchHitRect

EnumLoadedPageElements

SearchAndRedactReplaceLoaded

GetLoadedPageTextInRegion

SearchLoadedFirst

SaveLoadedPagesAsImages

GetLoadedPageMetafile

RenderLoadedPageToDC

RenderLoadedPageToClipboard

PrintLoadedDocument

EnumerateSystemCertificates

GetLoadedTrapped

GetLoadedDocumentMetadataXML

GetLoadedCollectionInfo

GetLoadedOutlineChild

RotateLoadedPages

SetLoadedPageBoxForRange

TwipsToPoints

PointsToTwips

PixelsToPoints

PointsToPixels

ToPDFUnit

FromPDFUnit

AddLoadedOutline

SetLoadedOutlineDestination

SetLoadedOutlineURI

ResolveLoadedNamedDestination

AddLoadedNamedDestination

GetLoadedBookmarkPageIndex

GetLoadedPageCount

DuplicateLoadedPage

AddLoadedBlankPage

SetLoadedPageRotationValue

GetLoadedPageBoxRect

GetLoadedEncryptionMethod

GetLoadedFileStructureInfo

SetLoadedPDFVersion

GetLoadedPageLabel

EnsureLoadedFieldAppearanceStream

ApplyLoadedFieldValidation

ApplyLoadedFieldCalculation

AddLoadedRubberStampAnnotation

SetLoadedAnnotationCloudyBorder

SetLoadedLineAnnotationCaps

AttachLoadedAnnotationMeasure

StitchLoadedPageSideBySideEx

StampLoadedPageText

StampLoadedPageShape

StampLoadedPagesText

StampLoadedPagesComposite

StampLoadedPageImage

InsertLoadedText

GetLoadedPageContentLength

StampLoadedPageImageFromFile

GetLoadedPageRotationValue

CompressLoadedDocument

GrowXRefIfNeeded