'Get the page mode.
See :meth:`setPageMode()<PdfFileWriter.setPageMode>` for a description
of valid modes.
:return: Page mode currently being used.
:rtype: str, None if not specified'

def getPageMode(self):

    try:
        return self._root_object['/PageMode']
    except KeyError:
        return None
