PDF::API2::Resource::XObject::Form(3pm)

PDF::API2::Resource::XObject::Form3pm

Base class for external form objects

Methods

$form = PDF::API2::Resource::XObject::Form->new($pdf)

Creates a form resource.

($llx, $lly, $urx, $ury) = $form->bbox($llx, $lly, $urx, $ury)

Get or set the coordinates of the form object's bounding box

$resource = $form->resource($type, $key)
$form->resource($type, $key, $object, $force)

Get or add a resource required by the form's contents, such as a Font, XObject, ColorSpace, etc.

By default, an existing $key will not be overwritten. Set $force to override this behavior.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 10 times.

  1. 3.1
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11
  9. 12
  10. 13
  11. Arch

From perl-pdf-api2 2.048-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.