Class ComHelper
Contents
[
Hide
]ComHelper class
Provides methods for COM clients to load a document into Aspose.Pdf.
public class ComHelper
Constructors
Name | Description |
---|---|
ComHelper() | The default constructor. |
Methods
Name | Description |
---|---|
OpenFile(string) | Just create and return Document using filename. The same as Document . |
OpenFile(string, LoadOptions) | Open an existing document from a file providing necessary converting oprions to get pdf document. |
OpenFile(string, string) | Initialize and return new instance of the Document class for working with encrypted document. |
OpenFile(string, string, bool) | Initialize new instance of the Document class for working with encrypted document. |
OpenStream(Stream) | Initialize and return new Document instance from the input stream. |
OpenStream(Stream, bool) | Initialize and return new Document instance from the input stream. |
OpenStream(Stream, LoadOptions) | Open and return an existing document from a stream providing necessary converting to get pdf document. |
OpenStream(Stream, string) | Initialize and return new Document instance from the input stream. |
OpenStream(Stream, string, bool) | Initialize and return new Document instance from the input stream. |
Remarks
Use the ComHelper class to load a document from a file or stream into a Document object in a COM application. The Document class provides a default constructor to create a new document and also provides overloaded constructors to load a document from a file or stream. If you are using Aspose.Words from a .NET application, you can use all of the Document constructors directly, but if you are using Aspose.Pdf from a COM application, only the default Document constructor is available.
See Also
- namespace Aspose.Pdf
- assembly Aspose.PDF