{
    "mode": "perldoc",
    "parameter": "PDF::API2::Basic::PDF::Array",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/PDF%3A%3AAPI2%3A%3ABasic%3A%3APDF%3A%3AArray/json",
    "generated": "2026-06-14T13:45:10Z",
    "sections": {
        "NAME": {
            "content": "PDF::API2::Basic::PDF::Array - Low-level PDF array object\n",
            "subsections": []
        },
        "METHODS": {
            "content": "PDF::Array->new($parent, @values)\nCreates an array with the given storage parent and an optional list of values to initialise the\narray with.\n\n$a->outobjdeep($fh, $pdf)\nOutputs an array as a PDF array to the given filehandle.\n\n$a->elements()\nReturns the contents of the array.\n\n$a->addelements(@elements)\nAppends the given elements to the array. An element is only added if it is defined.\n\n$a->removeelement($element)\nRemoves all occurrences of an element from an array.\n\n$a->val()\nReturns a reference to the contents of the array.\n\n$a->copy($pdf)\nCopies the array with deep-copy on elements which are not full PDF objects with respect to a\nparticular $pdf output context\n",
            "subsections": []
        }
    },
    "summary": "PDF::API2::Basic::PDF::Array - Low-level PDF array object",
    "flags": [],
    "examples": [],
    "see_also": []
}