{
    "content": [
        {
            "type": "text",
            "text": "# PDF::API2::Resource::XObject::Form (perldoc)\n\n## NAME\n\nPDF::API2::Resource::XObject::Form - Base class for external form objects\n\n## Sections\n\n- **NAME**\n- **METHODS**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "PDF::API2::Resource::XObject::Form",
        "section": "",
        "mode": "perldoc",
        "summary": "PDF::API2::Resource::XObject::Form - Base class for external form objects",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 13,
                "subsections": []
            }
        ],
        "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": []
            }
        }
    }
}