procedure SetPageBox(Box: TPdfPageBox; const Rectangle: TPdfRectangle);
Schreibt ein neues Rechteck für die benannte Seitenbox (MediaBox / CropBox / BleedBox / TrimBox / ArtBox) auf die aktuelle Seite
Call UpdatePage after to commit the change; required to crop or pad printable PDFs.
Wraps the corresponding PDFium API and exposes it as a TPdf instance member so consumers do not have to manage FPDF_DOCUMENT handles directly.
Pdf1.Active bevor seitenbezogene Operationen aufgerufen werden; Methoden, die ein geöffnetes Dokument erfordern, lösen EPdfError otherwise.SaveToFile to persist.
if Pdf1.Active then
Pdf1.SetPageBox;