code: def set_thumbnail_size(self, width, height):
          
          cairo.cairo_pdf_surface_set_thumbnail_size(
              self._pointer, width, height)
docs: Set thumbnail image size for the current and all subsequent pages.
  
          Setting a width or height of 0 disables thumbnails for the current and
          subsequent pages.
  
          :param width: thumbnail width.
          :param height: thumbnail height.
  
          *New in cairo 1.16.*
  
          *New in cairocffi 0.9.*