PdfAttachmentOptions constructor

init

Initializes a new instance of the PdfAttachmentOptions class.

def __init__(self, file_path):
    ...
Parameter Type Description
file_path str The file path of the embedded object.

init

Initializes a new instance of the PdfAttachmentOptions class.

def __init__(self, object_data, extension):
    ...
Parameter Type Description
object_data bytes The data of the embedded object.
extension str The extension of the embedded object.

See Also