QPdfWriter

class PyQt5.QtGui.QPdfWriter

C++ documentation