get_attachment_info method

get_attachment_info

Gets information about all attachments in an MHT file.

Returns

A list of MhtmlAttachmentInfo objects containing information about each attachment.

def get_attachment_info(self, source_stream):
    ...
ParameterTypeDescription
source_streamio.RawIOBaseThe stream containing the MHT file.

Exceptions

ExceptionDescription
ArgumentNullExceptionThrown when source_stream is null.

See Also