{
    "mode": "perldoc",
    "parameter": "PDF::API2::Resource::XObject::Form",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/PDF%3A%3AAPI2%3A%3AResource%3A%3AXObject%3A%3AForm/json",
    "generated": "2026-06-13T11:28:22Z",
    "sections": {
        "NAME": {
            "content": "PDF::API2::Resource::XObject::Form - Base class for external form objects\n",
            "subsections": []
        },
        "METHODS": {
            "content": "$form = PDF::API2::Resource::XObject::Form->new($pdf)\nCreates a form resource.\n\n($llx, $lly, $urx, $ury) = $form->bbox($llx, $lly, $urx, $ury)\nGet or set the coordinates of the form object's bounding box\n\n$resource = $form->resource($type, $key)\n$form->resource($type, $key, $object, $force)\nGet or add a resource required by the form's contents, such as a Font, XObject, ColorSpace,\netc.\n\nBy default, an existing $key will not be overwritten. Set $force to override this behavior.\n",
            "subsections": []
        }
    },
    "summary": "PDF::API2::Resource::XObject::Form - Base class for external form objects",
    "flags": [],
    "examples": [],
    "see_also": []
}