Scroll to navigation

PDF::Builder::Resource(3) User Contributed Perl Documentation PDF::Builder::Resource(3)

NAME

PDF::Builder::Resource - Base class for PDF resources. Inherit from PDF::Builder::Basic::PDF::Dict

METHODS

new

    $resource = PDF::Builder::Resource->new($pdf, $name)

Returns a resource object.

name

    $name = $resource->name() # Get
    $resource->name($name) # Set

Get or set the name of the resource.
2024-03-08 perl v5.40.0