export method

export

Exports the collection of metadata to the stream.

def export(self, metadata, stream):
    ...
Parameter Type Description
metadata Iterable[MetadataItem] The collection of metadata.
stream io.RawIOBase The output stream.

export

Exports the document information to the stream.

def export(self, document_info, stream):
    ...
Parameter Type Description
document_info IDocumentInfo The document information.
stream io.RawIOBase The output stream.

export

Exports the collection of text areas to the stream.

def export(self, text_areas, stream):
    ...
Parameter Type Description
text_areas Iterable[PageTextArea] The collection of the text areas.
stream io.RawIOBase The output stream.

export

Exports the collection of tables to the stream.

def export(self, tables, stream):
    ...
Parameter Type Description
tables Iterable[PageTableArea] The collection of tables.
stream io.RawIOBase The output stream.

export

Exports the collection of barcodes to the provided output stream.

def export(self, barcodes, stream):
    ...
Parameter Type Description
barcodes Iterable[PageBarcodeArea] Iterable of barcode objects to export.
stream io.RawIOBase An io.RawIOBase stream to write the exported data.

export

Exports document data to the stream.

def export(self, document_data, stream):
    ...
Parameter Type Description
document_data DocumentData Document data.
stream io.RawIOBase The output stream.

Returns: None.

See Also