PDFium Delphi Component Docs

GenerateFormAppearances method

Component: TPdfView  ·  Unit: PDFium
TPdfView wrapper that forwards to TPdf.GenerateFormAppearances

Syntax

procedure GenerateFormAppearances;

Description

Mirrors TPdf.GenerateFormAppearances. The TPdfView component forwards the call to its underlying Pdf instance and refreshes the view if the call mutates the document

All semantic notes from TPdf.GenerateFormAppearances apply identically here; the only difference is that you address the operation through the visual control instead of the model object

When TPdfView is bound to an external TPdf (assigning PdfView1.Pdf := Pdf1), reading this member returns the same data as Pdf1.GenerateFormAppearances without addressing the model component separately

Remarks

Example

if PdfView1.Active then
  PdfView1.GenerateFormAppearances;

For inherited widgets, a temporary native edit is followed by checked restoration of the original parent-field value; the widget receives no shadow value

Inherited read-only fields raise an error because this editing route cannot be used; GenerateFormAppearances does not provide a document transaction

See Also

GenerateFormAppearances, Pdf