| API | Description |
span class="keyword">property About: string | Reports PDFiumPas component version information for TPdf. |
Active | Opens or closes the selected PDF document. |
span class="keyword">procedure AddImage(const FileName: string; X, Y, Width, Height: Double) | Insert an image from a file into the current PDF page. Internally uses TPicture.LoadFromFile, so any image format registered with the VCL or LCL graphics units (BMP, PNG via Vcl.Imaging.PngImage / LCL TPortableNetworkGraphic, JPG, etc.) is accepted. Coordinates are in PDF user space (origin at the page lower-left); Width and Height are the placement size in user units, not the source image pixel size. |
span class="keyword">function AddJpegImage(JpegImage: TStream; X, Y, Width, Height: Double): Boolean | Add JPEG image to the current PDF page using the specified coordinates. |
span class="keyword">procedure AddPage(PageNumber: Integer; Width, Height: Double) | Creates a new blank page with the given dimensions in points. |
AddPath | Commits the accumulated MoveTo/LineTo/BezierTo path as a new page object with the requested paint. |
span class="keyword">procedure AddPicture(Picture: TPicture; X, Y: Double) | Add picture to the current PDF page using the specified coordinates. |
span class="keyword">procedure AddText(const Text, Font: WString; FontSize: Single; X, Y: Double; Color: TColor = clBlack; Alpha: Byte = $FF; Angle: Double = 0.0) | Add text to the current PDF page at the specified position. |
Annotation | Indexed property — returns the annotation record at the given index on the current page (subtype, rect, color, contents, etc.) |
AnnotationCount | Number of annotation objects attached to the currently active page. |
span class="keyword">property Attachment[Index: Integer]: TBytes | Reads or replaces the raw byte payload of the document-level embedded file at the specified zero-based index. Each slot corresponds to one entry in the PDF EmbeddedFiles name tree defined in section 7.11 of the PDF 1.7 specification. |
AttachmentCount | Number of embedded file attachments declared in the document. |
AttachmentName | Returns the Unicode file name registered for the embedded file at the given zero-based index in the document EmbeddedFiles name tree. |
AttachmentType | Returns the registered MIME / subtype string for the embedded file at the specified zero-based index. The value is taken from the file specification dictionary's /Subtype entry as defined in PDF section 7.11.3. |
Author | Returns the value of the /Author entry from the PDF document information dictionary. |
BezierTo | Appends a cubic Bezier curve from the current point through control points (X1,Y1) and (X2,Y2) to (X3,Y3). |
Bitmap | Returns a freshly-decoded VCL TBitmap holding the raster data of the specified image object on the current page. The bitmap is newly allocated on each call; the caller owns it and is responsible for calling Free. |
BitmapCount | Number of image page objects on the active page, accessible as VCL TBitmap. |
Bookmark | Looks up a bookmark by its title string and returns the matching TBookmark record from the document outline tree defined in PDF section 12.3.3. |
BookmarkChildren | Indexed property — returns the immediate child bookmarks of a given parent bookmark node |
BookmarkFrom | Converts a raw FPDF_BOOKMARK handle into a fully populated TBookmark record by reading the title, destination page, and action metadata for that outline node. |
Bookmarks | Indexed property — returns the full list of top-level outline (bookmark) entries for the document |
Character | Read-only indexed access to the UTF-16 string form of the character at the given index (typically one code unit, but two for a surrogate pair). |
CharacterAngle | Read-only indexed access to the rotation angle of the character in radians, taking the page CTM into account. |
CharacterCount | Number of extractable characters on the currently active page. |
CharacterFontSize | Read-only indexed access to the effective font size used to render the character (in PDF points, after CTM scaling). |
CharacterFontWeight | Read-only indexed access to the OS/2 usWeightClass value of the font used (100 = Thin, 400 = Regular, 700 = Bold, 900 = Black). |
CharacterGenerated | Returns True when the character at the specified index was synthesised by PDFium during text extraction rather than being drawn explicitly by the page content stream. Synthetic characters are emitted for ligature expansion, soft hyphenation, and word/line boundary heuristics so search and select-all results read naturally. |
span class="keyword">function CharacterIndexAtPos(X, Y, ToleranceX, ToleranceY: Double): Integer | Get the index of a character at or nearby a certain position on the page. If there is no character at or nearby the point, return value will be -1. If an error occurs, -3 will be returned. |
CharacterIsHyphen | Returns True when the character at the specified index is recognized as a soft hyphen used for end-of-line word breaking. Useful when reconstructing words across line wraps without retaining the visible hyphen mark. |
CharacterMapError | Returns True when the character at the specified index could not be mapped to a valid Unicode code point. The flag is reported per-character by the PDFium text extractor and lets callers identify code points that are likely incorrect because the originating font lacks a usable ToUnicode CMap or encoding vector. |
CharacterOrigin | Read-only indexed access to the origin (baseline-left anchor) of the character in PDF user-space points. |
CharacterRectangle | Read-only indexed access to the bounding rectangle of the character in PDF user-space coordinates (origin bottom-left, in points). |
Charcode | Read-only indexed access to the Unicode code point (UCS-4) of the character at the given index. |
span class="keyword">procedure ClearFormFieldFocus | Works with the current-page AcroForm logical focus cursor for keyboard, speech, and accessibility workflows |
ClosePath | Closes the current sub-path by drawing a straight line back to the most recent MoveTo. |
Compressed | Controls whether streams in the output PDF are FlateDecode-compressed when SaveAs / Save is called. The post-save compression engine scans the serialized PDF, replaces any uncompressed streams with their zlib-deflated equivalents, and rebuilds the xref table. Already-compressed streams pass through unchanged. |
constructor Create(AOwner: TComponent); override | Creates the TPdf component and initializes document, rendering, form, and cache state |
span class="keyword">procedure CreateAnnotation(const Annotation: TPdfAnnotation) | Create a new annotation. |
CreateAttachment | Adds a new embedded file (attachment) at the document level. |
span class="keyword">procedure CreateDocument | Closes the current document (if any) and starts a brand-new empty PDF. |
span class="keyword">procedure CreatePath(X, Y: Single; FillMode: TPdfFillMode = fmNone; FillColor: TColor = clBlack; FillAlpha: Byte = $FF; Stroke: Boolean = True; StrokeColor: TColor = clBlack; StrokeAlpha: Byte = $FF; StrokeWidth: Single = 1.0; LineCap: TPdfLineCap = lcDefault; LineJoin: TPdfLineJoin = ljDefault; BlendMode: TPdfBlendMode = bmDefault) | Create a new path object at an initial position. |
CreateXObjectFromPage | Wraps a page from another TPdf as a reusable Form XObject handle that can be stamped into this document any number of times. |
CreationDate | Original creation timestamp from the document Info dictionary. |
Creator | Name of the originating authoring application stored in the Info dictionary. |
DeleteAnnotation | Removes the annotation at the given index on the current page. |
span class="keyword">function DeleteAttachment(Index: Integer): Boolean | Removes the embedded file attachment at the given index. |
span class="keyword">procedure DeletePage(PageNumber: Integer) | Removes the page at PageIndex from the document. |
Destination | Returns the TDestination record for the named destination at the specified zero-based index. Named destinations are the indirect targets defined under the document catalog Dests / Names tree as described in PDF section 12.3.2. |
DestinationByName | Looks up a /Names destination by string name and returns its target page / fit-type / coordinates. |
DestinationCount | Number of named destinations declared in the document. |
destructor Destroy; override | Releases document handles, form state, cached fonts, streams, and timers before TPdf is destroyed |
ExportXFDF | Serializes every form field value and annotation across all pages of the loaded document into an XFDF (ISO 19444-1) document, written as UTF-8 XML with the http://ns.adobe.com/xfdf/ namespace. |
span class="keyword">function DeviceToPage(X, Y, Left, Top, Width, Height: Integer; Rotation: TRotation; out PageX, PageY: Double): Boolean | Convert the screen coordinate of a point to page coordinate. |
span class="keyword">property Document | Native PDFium FPDF_DOCUMENT handle for direct low-level access. |
span class="keyword">function DocumentReadableContent: TPdfContentFragments | Returns semantic readable content fragments for screen-reader, text-to-speech, and accessibility workflows |
function DocumentReadingUnits: TPdfReadingUnits | Builds sentence-level TPdfReadingUnit records for the whole document readable-content stream |
FileIdentifier | Read-only flag — returns the document file identifier array for the requested identifier slot. |
span class="keyword">property FileName | Path of the PDF to open; assigning while Active reloads from the new path. |
Find | Searches for Pattern starting from PageNum (or the current page if -1) and returns the global character index of the first match. |
span class="keyword">function FindFirst(const Text: WString; Options: TSearchOptions = []; StartIndex: Integer = 0; DirectionUp: Boolean = True): Integer | Start a search of the specified text. StartIndex is 0-based, -1 is for end of the page. DirectionUp parameter determines direction of this search operation. |
span class="keyword">function FindNext | Advances the cursor of an in-progress Find session and returns the next matching character index. |
span class="keyword">function FindPrevious | Reverses the Find cursor by one match. |
span class="keyword">function FlattenAllPages(nFlag: Integer = FLAT_NORMALDISPLAY): Boolean | Convenience wrapper that flattens every page in the document. Returns True when every page completes with FLATTEN_SUCCESS or FLATTEN_NOTHINGTODO. Recommended workflow: GenerateFormAppearances → FlattenAllPages → SaveAs. |
span class="keyword">function FlattenPage(nFlag: Integer = FLAT_NORMALDISPLAY): Integer | Flattens annotations and form widgets on the current page into permanent (non-editable) page content. nFlag selects the flattening profile: FLAT_NORMALDISPLAY (0) for screen display or FLAT_PRINT (1) for printed output. Returns one of FLATTEN_SUCCESS, FLATTEN_NOTHINGTODO, or FLATTEN_FAIL. Call GenerateFormAppearances first when flattening filled-in form values. |
function FocusedFormFieldDetails: TPdfFormFieldInfo | Returns TPdfFormFieldInfo for the current logical form field |
span class="keyword">function FocusedFormFieldIndex: Integer | Works with the current-page AcroForm logical focus cursor for keyboard, speech, and accessibility workflows |
function FocusedFormFieldName: WString | Returns the current logical form field display name, preferring AlternateName and falling back to Name |
span class="keyword">function FocusedFormFieldText: WString | Works with the current-page AcroForm logical focus cursor for keyboard, speech, and accessibility workflows |
function FocusedFormFieldValue: WString | Returns the current logical form field value by FocusedFormFieldIndex without depending on the interactive caret |
span class="keyword">function FocusFormField(Index: Integer): Boolean | Works with the current-page AcroForm logical focus cursor for keyboard, speech, and accessibility workflows |
span class="keyword">function FocusNextFormField: Integer | Works with the current-page AcroForm logical focus cursor for keyboard, speech, and accessibility workflows |
span class="keyword">function FocusPreviousFormField: Integer | Works with the current-page AcroForm logical focus cursor for keyboard, speech, and accessibility workflows |
FontAscent | Returns the font's ascent (distance from the baseline to the highest ascender) of a page object's font, expressed in PDF points and scaled to a caller-supplied font size. |
FontBaseName | Returns the PostScript base name (the /BaseFont entry from the PDF font dictionary) of the font used by a page object, including any style suffix such as -Bold or ,Italic. |
FontData | Read-only indexed access to the raw bytes of the embedded font program (only populated when the font is embedded). |
FontDescent | Returns the font's descent (the distance from the baseline down to the lowest descender) of a page object's font, expressed in PDF points and scaled to a caller-supplied font size. |
FontFamilyName | Returns the typographic family name (e.g. Helvetica, Times New Roman, Noto Sans CJK SC) of the font used by a page object on the current page. |
FontHandle | Returns the native FPDF_FONT handle of the font used by a page object. The handle gives advanced callers direct access to PDFium font APIs not wrapped by the component. |
FontIsEmbedded | Indicates whether the font used by a page object is embedded inside the PDF (True) or merely referenced and resolved at view time from the operating system (False). |
FontItalicAngle | Read-only indexed access to the italic angle of the font in degrees (negative for typical italic; 0 for upright). |
FontSize | Returns the rendered font size, in PDF points, of an individual character on the current page. FontSize is an alias for CharacterFontSize retained for backward compatibility. |
FontWeight | Returns the CSS-style weight (boldness) of the font used by a page object on the current page. Typical values are 400 for regular and 700 for bold. |
FormField | Indexed property — returns one form field on the current page |
FormFieldAt | Read or write the value of the form field located at the given page coordinate. |
FormFieldCount | Number of form field widgets on the currently active page. |
FormFieldInfo | Full record describing a form field at a given index on the active page. |
FormFieldInfoAt | Form field record for the widget located at the given page coordinate. |
span class="keyword">function FormFieldTabOrder: TPdfIntegerArray | Works with the current-page AcroForm logical focus cursor for keyboard, speech, and accessibility workflows |
span class="keyword">property FormFill | Interface that lets your application supply forms-related callbacks (Beep, Invalidate, OutputDocFile, etc.). |
FormHandle | Native PDFium form-fill environment handle attached to the document. |
span class="keyword">property FormType | Tells you whether the document contains AcroForm fields, XFA, or no forms at all. |
span class="keyword">procedure GenerateFormAppearances | Regenerates the /AP (appearance stream) for every form widget on every page by rendering each page through FPDF_FFLDraw. This is the recommended companion call to FormField[i] := value assignments — without it, form values may be visible only when the field has focus, and any subsequent flatten operation will silently lose the values. Call after all FormField[] assignments and before SaveAs / FlattenPage / FlattenAllPages. |
span class="keyword">function GetPageBox | Reads the rectangle of the named page box on the current page. |
function GetXfaConfig: TBytes | Retrieves the raw XML bytes of the XFA config packet from the PDF document |
function GetXfaDatasets: TBytes | Retrieves the original XFA datasets XML bytes from the PDF document |
function GetXfaFormPackets: TXfaPacketList | Snapshots all embedded XFA packets in a TXfaPacketList collection |
function GetXfaTemplate: TBytes | Retrieves the raw XML bytes of the XFA template packet from the PDF document |
HasBookmarkChildren | Returns True when the given outline node has at least one child bookmark. |
HasFormFieldAt | Hit-test that returns True when a form field widget covers the given page coordinate. |
Image | Indexed property — returns one image page object on the current page (handle + bbox + bit depth + color space) |
ImageCount | Number of raster image XObjects on the currently active page. |
ImportXFDF | Reads an XFDF (ISO 19444-1) document and applies its form field values and annotations to the loaded PDF, creating annotations on the matching pages and writing field values into their widget annotations. |
ImportNPagesToOne | Builds a brand-new TPdf whose pages are NumX×NumY composites of the source document's pages, suitable for N-up printing layouts. |
ImportPages | Copies one or more pages from another open TPdf into this document. |
ImportPagesByIndex | Imports a specific subset of pages from another TPdf by zero-based index, with control over the insertion point in the current document. |
span class="keyword">function ImportPreferences(Pdf: TPdf): Boolean | Bit-set controlling how ImportPages copies content (resources, named destinations, comments, etc.). |
span class="keyword">function InsertFormObjectFromXObject(XObject: TPdfXObject): FPDF_PAGEOBJECT | Inserts ONE copy of the page wrapped by a TPdfXObject into the current page of this document, returning the FPDF_PAGEOBJECT so the caller can position / scale / rotate it. |
IsTagged | Whether the document declares a structure tree for accessibility. |
JavaScriptAction | Indexed property — returns one document-level JavaScript action (name + Type + Source string) |
JavaScriptActionCount | Number of document-level JavaScript actions stored in the PDF. |
JavaScriptActions | All document-level JavaScript actions returned as a single dynamic array. |
Keywords | Author-supplied keyword list from the document Info dictionary. |
Language | Natural language identifier declared in the document catalog. |
LineTo | Appends a straight line from the current point to (X, Y). |
LinkAnnotation | Indexed property — returns the explicit /Annot Subtype Link at the given index, including the target action or destination |
LinkAnnotationCount | Number of /Link annotation entries on a specific page. |
span class="keyword">procedure LoadCustomDocument(AStream: TStream; AOwnsStream: Boolean = False) | Loads a PDF from any seekable TStream using PDFium's on-demand block reader, so multi-GB documents and remote / database-backed sources do not need an up-front in-memory copy. |
span class="keyword">procedure LoadDocument | Open and load a PDF document from FileName. |
span class="keyword">property MetaText | Returns the document XMP metadata packet as a wide string. |
ModifiedDate | Last-modification timestamp recorded in the document Info dictionary. |
MovePages | Reorders pages of this document in place by zero-based index, keeping the page count constant. |
MoveTo | Starts a new sub-path at the given page coordinate. |
ObjectBitmap | Indexed property — returns one image page object as a renderable VCL TBitmap (lossy decoded from JPX/CCITT/etc.) |
ObjectBounds | Tight axis-aligned bounding rectangle of a single page object on the current page, |
ObjectCount | Read-only number of page objects (text, path, image, shading, form) at the current page. |
ObjectHandle | Raw PDFium FPDF_PAGEOBJECT pointer for the specified page object, |
ObjectTransparent | Indicates whether a page object participates in PDF transparency — either through |
ObjectType | Returns the category of the page object at the specified index — text, path, image, shading, or form XObject. The classification matches the PDF content-stream operator that produced the object and lets callers iterate the page-object array with a single switch dispatch. |
span class="keyword">property OnFormFieldEnter | Fired when the form-fill engine gains focus on a form field. |
span class="keyword">property OnFormFieldExit | Fired when the form-fill engine loses focus on a form field. |
property OnJavaScriptResponse | Fired when PDF-embedded JavaScript actions request user interaction |
span class="keyword">property OnPageChange | Fired when Pdf.Page is assigned to a different page index. |
span class="keyword">property OnUnsupportedFeature | Fired when the document uses a PDF feature that PDFium does not implement (e.g. XFA full forms, 3D annotations, multimedia). |
property OnXfaGotoUrl | Fired when navigating link URLs inside dynamic XFA forms |
property OnXfaUriAction | Fired when link URI actions trigger inside dynamic XFA contexts |
function PadesCryptoAvailable: Boolean | Indicates whether the signature cryptographical backend is available on the system |
Page | Native PDFium page handle for the currently active page. |
span class="keyword">property PageBounds[Box: TPdfPageBox]: TPdfRectangle | Page-level property — the rectangle for the requested page box (MediaBox/CropBox/BleedBox/TrimBox/ArtBox). |
span class="keyword">property PageBox[Box: TPdfPageBox]: TPdfRectangle | Page-level property — reads or writes a specific page-box rectangle on the current page. |
span class="keyword">property PageCount: Integer | Page-level property — total number of pages in the open document. |
PageHeight | Height of the active page in PDF user-space units (points = 1/72 inch). |
span class="keyword">property PageLabel: WString | Page-level property — returns the user-visible page label (such as "iv" or "A-3") rather than the zero-based index. |
span class="keyword">property PageMode: TPageMode | Page-level property — the document /PageMode hint (Outlines, Thumbs, FullScreen, ...). |
span class="keyword">property PageNumber: Integer | Page-level property — 1-based page index of the current page (so PageNumber = Page + 1). |
span class="keyword">property PageRotation: TRotation | Page-level property — rotation applied to the current page when rendering (ro0 / ro90 / ro180 / ro270). |
span class="keyword">function PageToDevice(PageX, PageY: Double; Left, Top, Width, Height: Integer; Rotation: TRotation; out X, Y: Integer): Boolean | Convert the page coordinate of a point to screen coordinate. |
span class="keyword">property PageWidth: Double | Page-level property — width of the current page in points (1 pt = 1/72 inch). |
function PageWordBoxes: TPdfWordBoxes | Returns TPdfWordBox records for words on the current TPdf page with character ranges and page-space rectangles |
span class="keyword">property Password | Decryption password assigned before Active := True. |
PdfAConformance | Read-only PDF/A conformance level of the currently open document, without needing to call ValidatePdfA explicitly. |
PdfEConformance | Read-only PDF/E conformance level of the currently open document, without needing to call ValidatePdfE explicitly. |
PdfRConformance | Read-only PDF/R conformance level of the currently open document, without needing to call ValidatePdfR explicitly. |
PdfUaConformance | Read-only PDF/UA conformance level of the currently open document, without needing to call ValidatePdfUa explicitly. |
PdfVersion | Read-only flag — the PDF specification version of the open document (e.g. pv14, pv17, pv20). |
PdfVTConformance | Read-only PDF/VT conformance level of the currently open document, without needing to call ValidatePdfVT explicitly. |
PdfXConformance | Read-only PDF/X conformance level of the currently open document, without needing to call ValidatePdfX explicitly. |
span class="keyword">property Permissions | Returns the owner-password permission bits as decoded from the /Encrypt dictionary. |
PrintCopies | Embedded suggested number of copies the PDF's author would like the print dialog |
PrintPageRanges | Decoded list of one-based page ranges the PDF's author would like the print |
PrintPaperHandling | Decoded value of the document's /ViewerPreferences /Duplex hint — |
PrintScaling | Decoded value of the document's /ViewerPreferences /PrintScaling |
Producer | Name of the PDF library or converter that produced the file. |
ReadableContent | Returns semantic readable content fragments for screen-reader, text-to-speech, and accessibility workflows |
span class="keyword">function ReadablePageContent(PageNumber: Integer): TPdfReadableContent | Returns semantic readable content fragments for screen-reader, text-to-speech, and accessibility workflows |
function ReadingUnits: TPdfReadingUnits | Builds sentence-level TPdfReadingUnit records from the current page readable-content stream for assistive listen-reading workflows |
Rectangle | Returns one text bounding rectangle from the current page text layout. |
span class="keyword">function RectangleCount(StartIndex: Integer = 0; Count: Integer = MaxInt): Integer | Count number of rectangular areas occupied by a segment of texts. Function automatically merges small character boxes into bigger one if those characters are on the same line and use same font settings. |
span class="keyword">procedure ReloadPage | Reloads the currently selected page from the PDFium engine, refreshing the page object cache. |
span class="keyword">procedure RemoveObject(Index: Integer; DestroyObject: Boolean = True) | Removes the specified page object from the current page. When DestroyObject is True, the removed object is released after removal. The page content stream is regenerated automatically. |
span class="keyword">procedure RenderPage(DeviceContext: HDC; Left, Top, Width, Height: Integer; Rotation: TRotation = ro0; Options: TRenderOptions = []) | Render contents of a page to a device (screen, bitmap, or printer). |
RenderPageProgressive | Cancellable variant of RenderPage that drives PDFium's progressive rendering loop and polls an IPdfCancellationToken between iterations so long high-DPI renders can abort mid-page instead of blocking until completion. |
function RenderPageThumbnail(PageIndex, MaxWidth, MaxHeight: Integer): TBitmap | Renders any one-based page into a bitmap that fits within the requested thumbnail bounds |
span class="keyword">function RenderTile(Left, Top, Width, Height, PageWidth, PageHeight: Integer; Rotation: TRotation = ro0; Options: TRenderOptions = []; Color: TColor = clWhite): TBitmap | Render rectangular area of a page to a new bitmap. Returned bitmap has to be manually released. |
span class="keyword">function SaveAs(Stream: TStream; Option: TSaveOption = saNone; PdfVersion: TPdfVersion = pvUnknown): Boolean | Saves the copy of PDF document to the specified stream. If PdfVersion is pv13 through pv17, the saved output is normalized and validated for that target version, including existing catalog /Version overrides in incremental output. The validator covers the full PDF 1.1–1.7 / ISO 32000-1 feature timeline: filters (FlateDecode, JBIG2Decode, JPXDecode), object & xref streams, transparency (SMask, ca/CA, blend modes), Tagged PDF (StructTreeRoot, MarkInfo), color spaces (ICCBased, DeviceN), page boxes (BleedBox/TrimBox/ArtBox), output intents, optional content, AcroForm, CID/Type 0 and OpenType fonts, AES & AES-256 encryption (CFM AESV2/AESV3), all version-restricted annotation subtypes (Widget, Sound, Movie, FreeText, Line, Square, Circle, Highlight, Underline, StrikeOut, Stamp, Ink, Popup, FileAttachment, TrapNet, Squiggly, PrinterMark, Polygon, PolyLine, Caret, Screen, Watermark, 3D, Redact), version-restricted action types (SubmitForm, ResetForm, ImportData, Hide, Named, JavaScript, Trans, SetState, Rendition, GoToE, GoTo3DView), and catalog entries (Perms, Legal, Collection, Requirements, NeedsRendering). Anything that exceeds the chosen target version raises EPdfError. If the document has no existing OpenAction and the target version supports it, the saved PDF opens on the first page with Fit Height zoom. Trial builds apply the trial watermark during save. |
function SaveAsPadesDss(const FileName: string; const Options: TPadesDssOptions): Boolean | Saves the active PDF to a file while embedding PAdES Document Security Store validation material in an incremental update that preserves the source xref representation |
function SaveAsPadesDssToStream(Stream: TStream; const Options: TPadesDssOptions): Boolean | Saves the active PDF to a custom stream while embedding PAdES DSS validation material and preserving the source xref representation |
SaveAsPdfA | Saves the current document as a PDF/A-1b conformant file by post-processing the base PDF with an incremental update that injects an XMP metadata stream, an sRGB ICC OutputIntent, and an updated document catalog. |
span class="keyword">function SaveAsPdfAToStream(Stream: TStream; const Options: TPdfASaveOptions): Boolean | In-memory variant of SaveAsPdfA — writes the PDF/A-1b output into any TStream without staging through disk. |
SaveAsPdfE | Saves the current document as a PDF/E-1 conformant file by post-processing the base PDF with an incremental update that injects PDF/E-1 file-format markers (ISO 24517-1:2008). |
span class="keyword">function SaveAsPdfEToStream(Stream: TStream; const Options: TPdfESaveOptions): Boolean | In-memory variant of SaveAsPdfE — writes the PDF/E-1 output into any TStream without staging through disk. |
SaveAsPdfR | Saves the current document as a PDF/R-1 conformant file (ISO 23504-1:2020, the raster image transport and storage subset of PDF used for scanned documents). |
span class="keyword">function SaveAsPdfRToStream(Stream: TStream; const Options: TPdfRSaveOptions): Boolean | In-memory variant of SaveAsPdfR — writes PDF/R-1 output into any TStream without staging through disk. |
SaveAsPdfUa | Saves the current document as a PDF/UA-1 conformant file by post-processing the base PDF with an incremental update that injects PDF/UA file-format markers. |
span class="keyword">function SaveAsPdfUaToStream(Stream: TStream; const Options: TPdfUaSaveOptions): Boolean | In-memory variant of SaveAsPdfUa — writes the PDF/UA-1 output into any TStream without staging through disk. |
SaveAsPdfVT | Saves the current document as a single-file PDF/VT-1 conformant file (ISO 16612-2:2010, the variable and transactional printing PDF subset). |
span class="keyword">function SaveAsPdfVTToStream(Stream: TStream; const Options: TPdfVTSaveOptions): Boolean | In-memory variant of SaveAsPdfVT — writes PDF/VT output into any TStream without staging through disk. |
SaveAsPdfX | Saves the current document as a PDF/X-1a:2001, PDF/X-3:2002, or PDF/X-4 conformant file by post-processing the base PDF with an incremental update that injects PDF/X file-format markers (ISO 15930 family). |
span class="keyword">function SaveAsPdfXToStream(Stream: TStream; const Options: TPdfXSaveOptions): Boolean | In-memory variant of SaveAsPdfX — writes PDF/X output into any TStream without staging through disk. |
span class="keyword">procedure SetFormFieldFlags(Index: Integer; const Flags: TPdfFormFieldFlags) | Sets AcroForm field flags for the form field at the specified annotation index on the current page. |
span class="keyword">procedure SetFormFieldFlagsAt(X, Y: Single; const Flags: TPdfFormFieldFlags) | Sets the Flags bit field on the form field at the given coordinates. |
span class="keyword">procedure SetPageBox(Box: TPdfPageBox; const Rectangle: TPdfRectangle) | Writes a new rectangle for the named page box (MediaBox / CropBox / BleedBox / TrimBox / ArtBox) on the current page. |
SetText | Adds a text page object at the given page coordinate. |
span class="keyword">procedure SetTextPositions(ObjectIndex: Integer; const Positions: TPdfSingleArray) | Sets per-character positions for the specified text object. The first character position is implied as 0; Positions[0] sets the second character position, Positions[1] sets the third, and so on. Values are in points and relative to the text object origin. |
Signature | Indexed property — returns one digital-signature record (signer, reason, contact, byte range) |
SignatureCount | Number of digital signature fields embedded in the document. |
function SignPades(const FileName: string; const Options: TPadesSignOptions): Boolean | Appends a PAdES signature as an invisible Widget in the first page annotations and AcroForm fields while preserving existing entries |
function SignPadesToStream(Stream: TStream; const Options: TPadesSignOptions): Boolean | Writes a PAdES signature update with a registered Widget field, 64-bit ByteRange processing and the source xref representation |
function SignPadesWithPdfA(const FileName: string; const Options: TPadesSignOptions; PdfAOptions: TPdfASaveOptions): Boolean | Saves a signed PAdES PDF document complying with PDF/A archive standards |
StructureElements | Indexed property — returns the children of a logical structure tree element (StructTree) |
Subject | Returns the value of the /Subject entry from the PDF document information dictionary. |
span class="keyword">function Text(StartIndex: Integer = 0; Count: Integer = MaxInt): WString | Extract text string from the page. StartIndex and Count parameters determine characters to be extracted. StartIndex parameter is 0-based. |
span class="keyword">function TextInRectangle(Left, Top, Right, Bottom: Double): WString | Extract text within a rectangular boundary on the page. |
TextPage | Native PDFium text-page handle for the currently active page. |
span class="keyword">property Thumbnail | Returns the raw bytes of the /Thumb entry for the current page (optional precomputed preview, typically a 64x64 raster). |
Title | Returns the value of the /Title entry from the PDF document information dictionary. |
Transparent | Whether the currently active page contains transparent content. |
span class="keyword">procedure UpdatePage | Commits in-memory edits made through CreateAnnotation, AddImage, AddText, SetFormFieldFlagsAt, etc. to the underlying PDFium page. |
span class="keyword">property UserPermissions | Returns the user-password permission bits (a subset of Permissions). |
function ValidatePades: TPadesValidationResult | Validates all digital signatures in the PDF and returns a PAdES compliance report |
span class="keyword">function ValidatePdfA: TPdfAValidationResult | Inspects the currently open PDF for PDF/A compliance markers and returns a structured result with the detected conformance level plus the set of specific issues found. |
span class="keyword">function ValidatePdfE: TPdfEValidationResult | Inspects the currently open PDF for PDF/E-1 compliance markers and returns a structured result with the detected conformance level plus the set of specific issues found. |
span class="keyword">function ValidatePdfR: TPdfRValidationResult | Inspects the currently open PDF for PDF/R-1 compliance markers and returns a structured result with the detected conformance level plus the set of issues found. |
span class="keyword">function ValidatePdfUa: TPdfUaValidationResult | Inspects the currently open PDF for PDF/UA-1 compliance markers and returns a structured result with the detected conformance level plus the set of specific issues found. |
span class="keyword">function ValidatePdfVT: TPdfVTValidationResult | Inspects the currently open PDF for PDF/VT compliance markers and returns a structured result with the detected conformance level plus the set of issues found. |
span class="keyword">function ValidatePdfX: TPdfXValidationResult | Inspects the currently open PDF for PDF/X compliance markers and returns a structured result with the detected conformance level plus the set of specific issues found. |
ViewerPreference | Indexed property — returns the integer value of a /ViewerPreferences key (NumCopies, PrintScaling, etc.) |
WebLink | URL and bounding rectangles for an auto-detected web link on a page. |
WebLinkCount | Number of auto-detected web URLs identified by scanning a page's text. |
span class="keyword">property XFA | Returns the XFA XML packet embedded in the document (PDF/A 2.0 deprecated the format, but Acrobat-generated forms still use it). |
TPdfView is a scrollable visual control for displaying and interacting with PDF documents. It requires a Pdf: TPdf reference.
| API | Description |
span class="keyword">property About: string | Documents the About member published by TPdfView. |
Active | Activates or deactivates the viewer, opening the bound PDF document and rendering the selected page. |
span class="keyword">property ActualSizeZoom[PageNumber: Integer]: Double | Read-only zoom factor that displays the page at its true physical size on the host screen. |
span class="keyword">procedure AddImage(const FileName: string; X, Y, Width, Height: Integer); overload | Adds an image to the page currently displayed by TPdfView, converting a viewer client-coordinate rectangle into PDF page coordinates. |
span class="keyword">function AddJpegImage(JpegImage: TStream; X, Y, Width, Height: Integer): Boolean | TPdfView wrapper that forwards to TPdf.AddJpegImage. |
span class="keyword">procedure AddPicture(Picture: TPicture; X, Y: Integer); overload | TPdfView wrapper that forwards to TPdf.AddPicture. |
Align | Controls how the PDF viewer is laid out inside its parent container. |
span class="keyword">property AllowUserPageChange: Boolean | Allows user input (mouse wheel, scroll bar drag, key bindings) to change the current page. |
span class="keyword">property AllowUserTextSelection: Boolean | Gates user-input-driven text selection in the viewer. |
Anchors | Specifies which edges of the viewer remain a fixed distance from the corresponding edges of its parent when the parent is resized. |
span class="keyword">property Annotation[Index: Integer]: TPdfAnnotation | TPdfView wrapper that forwards to TPdf.Annotation. |
span class="keyword">property AnnotationCount: Integer | TPdfView wrapper that forwards to TPdf.AnnotationCount. |
span class="keyword">property AsyncRendering: Boolean | Opt-in flag that tells the view to draw a small "Loading..." overlay during long renders so applications using their own worker for off-thread rendering share a consistent visual affordance. |
span class="keyword">property Bitmap[Index: Integer]: TBitmap | TPdfView wrapper that forwards to TPdf.Bitmap. |
span class="keyword">property BitmapCount: Integer | TPdfView wrapper that forwards to TPdf.BitmapCount. |
span class="keyword">property Canvas: TCanvas | Drawing canvas exposed by the control after a page is rendered. |
span class="keyword">property ChangePageOnMouseScrolling: Boolean | In SinglePage mode, controls whether mouse-wheel scrolling at the page edge advances to the next page. |
span class="keyword">property Character[Index: Integer]: WideChar | TPdfView wrapper that forwards to TPdf.Character. |
span class="keyword">property CharacterAngle[Index: Integer]: Single | TPdfView wrapper that forwards to TPdf.CharacterAngle. |
span class="keyword">property CharacterCount: Integer | TPdfView wrapper that forwards to TPdf.CharacterCount. |
span class="keyword">property CharacterFontSize[Index: Integer]: Double | TPdfView wrapper that forwards to TPdf.CharacterFontSize. |
span class="keyword">property CharacterFontWeight[Index: Integer]: Integer | TPdfView wrapper that forwards to TPdf.CharacterFontWeight. |
span class="keyword">property CharacterGenerated[Index: Integer]: Boolean | TPdfView wrapper that forwards to TPdf.CharacterGenerated. |
span class="keyword">function CharacterIndexAtPos(X, Y: Integer; ToleranceX, ToleranceY: Double): Integer | Returns the character index in the current page nearest to the screen pixel (X, Y), or -1 if no character is close enough. |
span class="keyword">property CharacterIsHyphen[Index: Integer]: Boolean | TPdfView wrapper that forwards to TPdf.CharacterIsHyphen. |
span class="keyword">property CharacterMapError[Index: Integer]: Boolean | TPdfView wrapper that forwards to TPdf.CharacterMapError. |
span class="keyword">property CharacterOrigin[Index: Integer]: TPoint | TPdfView wrapper that forwards to TPdf.CharacterOrigin. |
span class="keyword">property CharacterRectangle[Index: Integer]: TRect | TPdfView wrapper that forwards to TPdf.CharacterRectangle. |
span class="keyword">property Charcode[Index: Integer]: WideChar | TPdfView wrapper that forwards to TPdf.Charcode. |
span class="keyword">procedure ClearFormFieldFocus | Works with the current-page AcroForm logical focus cursor for keyboard, speech, and accessibility workflows |
span class="keyword">procedure ClearHighlight | TPdfView wrapper that forwards to TPdfView.ClearHighlight. |
span class="keyword">procedure ClearReadingHighlight | Controls the TPdfView reading-highlight overlay used by synchronized text-to-speech playback |
procedure ClearReadingWord | Clears the current word-level reading cursor overlay on TPdfView |
span class="keyword">procedure ClearSelection | Clears the current text selection and invalidates the view. |
Color | Sets the background color drawn between the page rectangles and around the document edges. |
Constraints | Defines the minimum and maximum width and height the PDF viewer is allowed to reach when its parent is resized. |
span class="keyword">function CopySelectionToClipboard: Boolean | Copies the currently selected text to the Windows clipboard as CF_UNICODETEXT. |
constructor Create(AOwner: TComponent); override | Creates the TPdfView control and initializes rendering, scrolling, selection, and form interaction state |
span class="keyword">procedure CreateAnnotation(const Annotation: TPdfAnnotation) | TPdfView wrapper that forwards to TPdf.CreateAnnotation. |
span class="keyword">property CurrentCharIndex: Integer | Read-only zero-based character index under the current mouse cursor (or last hit-tested point). |
span class="keyword">procedure DeleteAnnotation(Index: Integer) | TPdfView wrapper that forwards to TPdf.DeleteAnnotation. |
destructor Destroy; override | Releases viewer resources, rendering buffers, and document subscriptions before TPdfView is destroyed |
span class="keyword">function DeviceToPage(X, Y: Integer; out PageX, PageY: Double): Boolean; overload | Converts a screen pixel (X, Y) inside the view to a PDF user-space point on the current page. |
span class="keyword">property DisplayMode: TPdfDisplayMode | Layout mode: single page, continuous, two-page, two-page continuous, with or without cover. |
span class="keyword">property DragCursor | Documents the DragCursor member published by TPdfView. |
span class="keyword">property DragKind | Documents the DragKind member published by TPdfView. |
span class="keyword">property DragMode | Documents the DragMode member published by TPdfView. |
Enabled | Controls whether the PDF viewer accepts user input from the mouse and keyboard. |
span class="keyword">property Find: FPDF_SCHHANDLE | TPdfView wrapper that forwards to TPdf.Find. |
span class="keyword">function FindFirst(const Text: WString; Options: TSearchOptions= []; StartIndex: Integer= 0; DirectionUp: Boolean= True): Integer | Start a search of the specified text. StartIndex is 0-based, -1 is for end of the page. DirectionUp parameter determines direction of this search operation. |
span class="keyword">function FindNext: Integer | TPdfView wrapper that forwards to TPdf.FindNext. |
span class="keyword">function FindPrevious: Integer | TPdfView wrapper that forwards to TPdf.FindPrevious. |
span class="keyword">property FitMode: TPdfFitMode | Controls how the current page sits inside the viewer's client area; re-applied automatically on Resize and when PageNumber changes so long documents with mixed page sizes stay framed. |
span class="keyword">function FlattenPage(nFlag: Integer = FLAT_NORMALDISPLAY): Integer | TPdfView wrapper that forwards to TPdf.FlattenPage. |
span class="keyword">function FocusFormField(Index: Integer): Boolean | Works with the current-page AcroForm logical focus cursor for keyboard, speech, and accessibility workflows |
span class="keyword">function FocusNextFormField: Integer | Works with the current-page AcroForm logical focus cursor for keyboard, speech, and accessibility workflows |
span class="keyword">function FocusPreviousFormField: Integer | Works with the current-page AcroForm logical focus cursor for keyboard, speech, and accessibility workflows |
function FocusedFormFieldDetails: TPdfFormFieldInfo | Returns TPdfFormFieldInfo for the current logical form field |
span class="keyword">function FocusedFormFieldIndex: Integer | Works with the current-page AcroForm logical focus cursor for keyboard, speech, and accessibility workflows |
function FocusedFormFieldName: WString | Returns the current logical form field display name, preferring AlternateName and falling back to Name |
span class="keyword">function FocusedFormFieldText: WString | Works with the current-page AcroForm logical focus cursor for keyboard, speech, and accessibility workflows |
function FocusedFormFieldValue: WString | Returns the current logical form field value by FocusedFormFieldIndex without depending on the interactive caret |
span class="keyword">property FontAscent[Index: Integer; FontSize: Single]: Single | TPdfView wrapper that forwards to TPdf.FontAscent. |
span class="keyword">property FontBaseName[Index: Integer]: WString | TPdfView wrapper that forwards to TPdf.FontBaseName. |
span class="keyword">property FontData[Index: Integer]: TBytes | TPdfView wrapper that forwards to TPdf.FontData. |
span class="keyword">property FontDescent[Index: Integer; FontSize: Single]: Single | TPdfView wrapper that forwards to TPdf.FontDescent. |
span class="keyword">property FontFamilyName[Index: Integer]: WString | TPdfView wrapper that forwards to TPdf.FontFamilyName. |
span class="keyword">property FontHandle[Index: Integer]: FPDF_FONT | TPdfView wrapper that forwards to TPdf.FontHandle. |
span class="keyword">property FontIsEmbedded[Index: Integer]: Boolean | TPdfView wrapper that forwards to TPdf.FontIsEmbedded. |
span class="keyword">property FontItalicAngle[Index: Integer]: Integer | TPdfView wrapper that forwards to TPdf.FontItalicAngle. |
span class="keyword">property FontSize[Index: Integer]: Double | TPdfView wrapper that forwards to TPdf.FontSize. |
span class="keyword">property FontWeight[Index: Integer]: Integer | TPdfView wrapper that forwards to TPdf.FontWeight. |
span class="keyword">function FormCanRedo: Boolean | Reports whether the focused AcroForm widget has at least one undone edit to redo. |
span class="keyword">function FormCanUndo: Boolean | Reports whether the focused AcroForm widget has at least one edit to undo. |
span class="keyword">property FormField[Index: Integer]: WString | TPdfView wrapper that forwards to TPdf.FormField. |
span class="keyword">property FormFieldAt[X, Y: Integer]: WString | TPdfView wrapper that forwards to TPdf.FormFieldAt. |
span class="keyword">property FormFieldCount: Integer | TPdfView wrapper that forwards to TPdf.FormFieldCount. |
span class="keyword">property FormFieldInfo[Index: Integer]: TPdfFormFieldInfo | TPdfView wrapper that forwards to TPdf.FormFieldInfo. |
span class="keyword">property FormFieldInfoAt[X, Y: Integer]: TPdfFormFieldInfo | TPdfView wrapper that forwards to TPdf.FormFieldInfoAt. |
span class="keyword">function FormFieldTabOrder: TPdfIntegerArray | Works with the current-page AcroForm logical focus cursor for keyboard, speech, and accessibility workflows |
span class="keyword">function FormRedo: Boolean | Redoes the most recently undone edit on the focused AcroForm widget, driving PDFium's per-widget redo history. |
span class="keyword">function FormUndo: Boolean | Undoes the most recent edit on the focused AcroForm widget, driving PDFium's per-widget undo history. |
span class="keyword">procedure GenerateFormAppearances | TPdfView wrapper that forwards to TPdf.GenerateFormAppearances. |
span class="keyword">function GetSelectedFormText: WString | Returns the text currently selected inside the focused AcroForm widget on the view's active page. |
span class="keyword">property HasFormFieldAt[X, Y: Integer]: Boolean | TPdfView wrapper that forwards to TPdf.HasFormFieldAt. |
span class="keyword">function HasSelection: Boolean | Returns whether any text is currently selected in the viewer. |
span class="keyword">property HighlightColor: TColor | Color of the rectangle painted over each match returned by HighlightSearchText. Defaults to clYellow; published so applications can theme the highlight. |
span class="keyword">function HighlightSearchText(const Text: WString; MatchCase: Boolean= False; MatchWholeWord: Boolean= False): Integer | TPdfView wrapper that forwards to TPdfView.HighlightSearchText. |
span class="keyword">property Image[Index: Integer]: TPdfImage | TPdfView wrapper that forwards to TPdf.Image. |
span class="keyword">property ImageCount: Integer | TPdfView wrapper that forwards to TPdf.ImageCount. |
span class="keyword">property LinkAnnotation[PageNumber, Index: Integer]: TLinkAnnotation | TPdfView wrapper that forwards to TPdf.LinkAnnotation. |
span class="keyword">function LinkAnnotationAtPos(X, Y: Integer; out PageNumber: Integer): Integer; overload | Returns the link-annotation index at the screen pixel (X, Y), or -1. |
span class="keyword">property LinkAnnotationCount[PageNumber: Integer]: Integer | TPdfView wrapper that forwards to TPdf.LinkAnnotationCount. |
span class="keyword">property LinkOptions: TPdfViewLinkOptions | Published set that controls which of PDFium's four link action types the view follows automatically when the user clicks the link. |
LoadingColor | Fill color of the “loading” placeholder drawn while a page is still being rendered. |
LoadingText | Text shown in the center of the page while asynchronous rendering is still in progress. |
property NightDuotoneInk: TColor | Controls the ink colour used by the reNightDuotone low-vision render option |
property NightDuotonePaper: TColor | Controls the paper colour used by the reNightDuotone low-vision render option |
span class="keyword">property ObjectBitmap[Index: Integer]: TBitmap | TPdfView wrapper that forwards to TPdf.ObjectBitmap. |
span class="keyword">property ObjectBounds[Index: Integer]: TPdfRectangle | TPdfView wrapper that forwards to TPdf.ObjectBounds. |
span class="keyword">property ObjectCount: Integer | TPdfView wrapper that forwards to TPdf.ObjectCount. |
span class="keyword">property ObjectHandle[Index: Integer]: Pointer | TPdfView wrapper that forwards to TPdf.ObjectHandle. |
span class="keyword">property ObjectTransparent[Index: Integer]: Boolean | TPdfView wrapper that forwards to TPdf.ObjectTransparent. |
span class="keyword">property ObjectType[Index: Integer]: TObjectType | TPdfView wrapper that forwards to TPdf.ObjectType. |
span class="keyword">property Options: TRenderOptions | Set of rendering hints and TPdfView post-render low-vision options |
span class="keyword">property Page: FPDF_PAGE | TPdfView wrapper that forwards to TPdf.Page. |
span class="keyword">property PageBorderColor: TColor | Color of the 1-pixel border drawn around each page rectangle. |
span class="keyword">property PageBounds: TPdfRectangle | TPdfView wrapper that forwards to TPdf.PageBounds. |
span class="keyword">property PageColor: TColor | Background color painted under the rendered PDF page, decoupled from the surrounding control's Color. Default is clWhite so PDF pages stay paper-white even when the host control's Color is themed dark. |
span class="keyword">property PageCount: Integer | TPdfView wrapper that forwards to TPdf.PageCount. |
span class="keyword">property PageHeight: Double | TPdfView wrapper that forwards to TPdf.PageHeight. |
span class="keyword">property PageHeightZoom[PageNumber: Integer]: Double | Read-only zoom factor that fits the page height into the view. |
span class="keyword">property PageLabel: WString | TPdfView wrapper that forwards to TPdf.PageLabel. |
span class="keyword">property PageNumber: Integer | TPdfView wrapper that forwards to TPdf.PageNumber. |
span class="keyword">property PageRotation: TRotation | TPdfView wrapper that forwards to TPdf.PageRotation. |
PageShadowColor | Fill color of the drop shadow painted beneath each page rectangle. |
span class="keyword">property PageShadowSize: Integer | Width (in pixels) of the soft shadow drawn around each page in continuous modes. |
span class="keyword">function PageToDevice(PageX, PageY: Double; out X, Y: Integer): Boolean; overload | Inverse of DeviceToPage: converts a PDF user-space point to a screen pixel inside the view. |
span class="keyword">property PageWidth: Double | TPdfView wrapper that forwards to TPdf.PageWidth. |
span class="keyword">property PageWidthZoom[PageNumber: Integer]: Double | Read-only zoom factor that fits the page width into the view. |
function PageWordBoxes: TPdfWordBoxes | Returns TPdfWordBox records for words on the current TPdfView page with character ranges and page-space rectangles |
span class="keyword">property PageZoom[PageNumber: Integer]: Double | Read-only zoom required to fit the current page into the view at the current DisplayMode. |
span class="keyword">procedure PaintSelection(SelectionStart, SelectionEnd: Integer; Mask: TColor) | TPdfView wrapper that forwards to TPdfView.PaintSelection. |
span class="keyword">property ParentShowHint | Documents the ParentShowHint member published by TPdfView. |
span class="keyword">property Pdf: TPdf | References the TPdf component whose document is rendered by the viewer. |
PopupMenu | Associates a TPopupMenu with the PDF viewer so that right-clicking on a page presents a context menu. |
ReadableContent | Returns semantic readable content fragments for screen-reader, text-to-speech, and accessibility workflows |
span class="keyword">property ReadingHighlightColor: TColor | Controls the TPdfView reading-highlight overlay used by synchronized text-to-speech playback |
function ReadingUnits: TPdfReadingUnits | Builds sentence-level TPdfReadingUnit records from the current TPdfView page |
span class="keyword">property ReadingWordColor: TColor | Controls the overlay colour used for the current word-level reading cursor |
span class="keyword">property ReadingWordFollow: Boolean | Controls whether TPdfView scrolls the current spoken word into view while tracking reading |
span class="keyword">property Rectangle[Index: Integer]: TRect | TPdfView wrapper that forwards to TPdf.Rectangle. |
span class="keyword">function RectangleCount(StartIndex: Integer = 0; Count: Integer = MaxInt): Integer | TPdfView wrapper that forwards to TPdf.RectangleCount. |
span class="keyword">procedure ReloadPage | TPdfView wrapper that forwards to TPdf.ReloadPage. |
span class="keyword">procedure RemoveObject(Index: Integer; DestroyObject: Boolean = True) | TPdfView wrapper that forwards to TPdf.RemoveObject. |
span class="keyword">procedure RenderPage(DeviceContext: HDC; Left, Top, Width, Height: Integer; Rotation: TRotation = ro0; Options: TRenderOptions = []) | Render contents of a page to a device (screen, bitmap, or printer). |
span class="keyword">function RenderTile(Left, Top, Width, Height, PageWidth, PageHeight: Integer; Rotation: TRotation = ro0; Options: TRenderOptions = []): TBitmap | Render rectangular area of a page to a new bitmap. Returned bitmap has to be manually released. |
span class="keyword">property Rotation: TRotation | Visual rotation applied to the rendered page (ro0 / ro90 / ro180 / ro270). |
span class="keyword">procedure SelectAll | Selects every character on the page(s) currently displayed by the viewer. |
span class="keyword">function SelectAllFormText: Boolean | Selects every character inside the focused AcroForm widget on the view's active page (the equivalent of Ctrl+A inside the widget). |
span class="keyword">function SelectTextRange(Page, StartIndex, Count: Integer): Boolean | Reads or writes the TPdfView programmatic text-selection model without requiring user mouse input |
function SelectWordBox(const Word: TPdfWordBox): Boolean | Selects the text range represented by one TPdfWordBox on the current TPdfView page |
function SelectWordSpan(const Words: TPdfWordBoxes; StartIndex, EndIndex: Integer): Boolean | Selects a same-page span of TPdfWordBox records as one TPdfView text selection |
span class="keyword">function SelectedText: WString | Returns the currently selected text as a wide string. |
span class="keyword">function SelectionCharCount: Integer | Returns the total number of characters currently selected. |
span class="keyword">property SelectionColor: TColor | Fill color for the user-drag text selection overlay. |
span class="keyword">function SelectionRanges: TPdfUserSelectionRanges | Reads or writes the TPdfView programmatic text-selection model without requiring user mouse input |
span class="keyword">function SelectionRectangles: TPdfRectangles | Reads or writes the TPdfView programmatic text-selection model without requiring user mouse input |
span class="keyword">procedure SetFormFieldFlags(Index: Integer; const Flags: TPdfFormFieldFlags) | TPdfView wrapper that forwards to TPdf.SetFormFieldFlags. |
span class="keyword">procedure SetFormFieldFlagsAt(X, Y: Integer; const Flags: TPdfFormFieldFlags) | TPdfView wrapper that forwards to TPdf.SetFormFieldFlagsAt. |
span class="keyword">procedure SetReadingHighlight(const Rects: TPdfRectangles; PageNumber: Integer) | Controls the TPdfView reading-highlight overlay used by synchronized text-to-speech playback |
procedure SetReadingWord(const Word: TPdfWordBox) | Highlights one TPdfWordBox as the current spoken word on TPdfView |
span class="keyword">function SetSelection(const Ranges: TPdfUserSelectionRanges): Boolean | Reads or writes the TPdfView programmatic text-selection model without requiring user mouse input |
ShowHint | Enables or disables the hint balloon shown when the mouse hovers over the PDF viewer. |
span class="keyword">property SmoothScroll: Boolean | Enables timer-driven segmented animation for line/page scrollbar commands. Thumb tracking remains immediate. |
span class="keyword">property StructureElements: TPdfStructureElements | TPdfView wrapper that forwards to TPdf.StructureElements. |
TabOrder | Defines the position of the PDF viewer in the parent's tab cycle. |
TabStop | Indicates whether the user can give focus to the PDF viewer by pressing the Tab key. |
span class="keyword">function Text(StartIndex: Integer = 0; Count: Integer = MaxInt): WString | TPdfView wrapper that forwards to TPdf.Text. |
span class="keyword">function TextInRectangle(Left, Top, Right, Bottom: Integer): WString; overload | TPdfView wrapper that forwards to TPdf.TextInRectangle. |
span class="keyword">property TextPage: FPDF_TEXTPAGE | TPdfView wrapper that forwards to TPdf.TextPage. |
span class="keyword">property Thumbnail: TBitmap | TPdfView wrapper that forwards to TPdf.Thumbnail. |
span class="keyword">property Touch | Documents the Touch member published by TPdfView. |
function TrackReadingWordAt(PageNumber, CharIndex: Integer): Integer | Maps a page character offset to the containing TPdfWordBox, highlights it, and returns the word index |
span class="keyword">property Transparent: Boolean | TPdfView wrapper that forwards to TPdf.Transparent. |
span class="keyword">procedure UpdatePage | TPdfView wrapper that forwards to TPdf.UpdatePage. |
Visible | Shows or hides the PDF viewer. |
span class="keyword">property WebLink[PageNumber, Index: Integer]: TWebLink | TPdfView wrapper that forwards to TPdf.WebLink. |
span class="keyword">function WebLinkAtPos(X, Y: Integer; out PageNumber: Integer): Integer; overload | Returns the web-link index at the screen pixel (X, Y). |
span class="keyword">property WebLinkCount[PageNumber: Integer]: Integer | TPdfView wrapper that forwards to TPdf.WebLinkCount. |
span class="keyword">property WindowHandle: HWND | Native window handle of the control (Windows-only). |
span class="keyword">property Zoom: Double | Zoom factor where 1.0 = 100% (one PDF point = 1 screen pixel at 72 DPI). |
TPdfReadingSession is a TTS-neutral read-aloud state machine that coordinates TPdfSpokenText chunks, host speech-engine callbacks, and TPdfView word-cursor highlighting.
TPdfThumbnailView is a scrollable side-panel control from the FPdfThumbnail unit. It links to a TPdf component and renders one page thumbnail per row for page navigation.