pdf.flowables

Classes

InlinePDF

A flowable containing a PDF.

Module Contents

class pdf.flowables.InlinePDF(pdf_file: StrOrBytesPath | SupportsRead[bytes], width: float)[source]

Bases: reportlab.platypus.Flowable

A flowable containing a PDF.

page[source]
scale[source]
width[source]
height[source]
hAlign = 'CENTER'[source]
wrap(*args: object) tuple[float, float][source]

This will be called by the enclosing frame before objects are asked their size, drawn or whatever. It returns the size actually used.

draw() None[source]