PDFium Component Docs

SetPageBox Yöntem

Bu API girdisi tanımlayıcıları, imzaları, kod bloklarını ve PDF terimlerini özgün biçiminde korur.
Bileşen: TPdf  ·  Birim: PDFium
Geçerli sayfada adlandırılmış sayfa kutusu (MediaBox / CropBox / BleedBox / TrimBox / ArtBox) için yeni bir dikdörtgen yazar

Söz dizimi

procedure SetPageBox(Box: TPdfPageBox; const Rectangle: TPdfRectangle);

Açıklama

Geçerli sayfada adlandırılmış sayfa kutusu (MediaBox / CropBox / BleedBox / TrimBox / ArtBox) için yeni bir dikdörtgen yazar

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.

Notlar

Örnek

if Pdf1.Active then
  Pdf1.SetPageBox;

Ayrıca bkz.

GetPageBox, PageBox, PageBounds