---
title: "ComHelper"
url: "https://reference.aspose.com/pdf/python-net/aspose.pdf/comhelper/"
product: "Aspose.PDF for Python via .NET API Reference"
description: "Provides methods for COM clients to load a document into Aspose.Pdf."
---


## ComHelper class

Provides methods for COM clients to load a document into Aspose.Pdf.

The ComHelper type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|ComHelper()|Initializes a new instance of the ComHelper class|
## Methods
| Name | Description |
| :- | :- |
|open_stream(input)|Initialize and return new Document instance from the|
|open_stream(input, password)|Initialize and return new Document instance from the|
|open_stream(input, is_managed_stream)|Initialize and return new Document instance from the|
|open_stream(input, password, is_managed_stream)|Initialize and return new Document instance from the|
|open_stream(input, options)|Open and return an existing document from a stream providing necessary converting to get pdf document.|
|open_file(filename)|Just create and return Document using|
|open_file(filename, password)|Just create and return Document using|
|open_file(filename, password, is_managed_stream)|Initialize new instance of the [Document](/pdf/python-net/aspose.pdf/document/) class for working with encrypted document.|
|open_file(filename, options)|Open an existing document from a file providing necessary converting oprions to get pdf document.|

### See Also

* namespace [aspose.pdf](/pdf/python-net/aspose.pdf/)
* assembly [Aspose.PDF](/pdf/python-net/)

