class HexaPDF::Type::Page

def label

See HexaPDF::Document::Pages for details.

index.
Returns the label of the page which is an optional, alternative description of the page
def label
  document.pages.page_label(index)
end