OlePresentationOptions constructor

init

Initializes a new instance of the OlePresentationOptions class.

def __init__(self, file_path, page_number):
    ...
Parameter Type Description
file_path str The file path of the embedded object.
page_number int The page number for adding embedded object.

init

Initializes a new instance of the OlePresentationOptions class.

def __init__(self, object_data, extension, page_number):
    ...
Parameter Type Description
object_data bytes The data of the embedded object.
extension str The extension of the embedded object.
page_number int The page number for adding embedded object.

See Also