PDFium Component Docs

FlattenPage function

Component: TPdfView  ·  Unit: PDFium
Omotač TPdfView koji prosljeđuje na TPdf.FlattenPage

Syntax

function FlattenPage(nFlag: Integer = FLAT_NORMALDISPLAY): Integer;

Description

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

Sve semantičke napomene iz TPdf.FlattenPage apply identically here; the only difference is that you address the operation through the visual control instead of the model object.

Kada je TPdfView povezan s vanjskim TPdf (dodjeljivanjem PdfView1.Pdf := Pdf1), čitanje ovog čana vraća iste podatke kao Pdf1.FlattenPage; kada TPdfView posjeduje svoj interni TPdf, ovaj član je jedini javni pristupnik.

Remarks

Example

if PdfView1.Active then
  Memo1.Lines.Add('FlattenPage = ' + VarToStr(PdfView1.FlattenPage));

See Also

FlattenPage, Pdf