Aspose::Pdf::ComHelper class
Contents
[
Hide
]ComHelper class
Provides methods for COM clients to load a document into Aspose.Pdf.
class ComHelper : public System::Object
Methods
Method | Description |
---|---|
OpenFile(System::String) | Just create and return Document using filename . The same as Document(Stream). |
OpenFile(System::String, System::String) | Initialize and return new instance of the Document class for working with encrypted document. |
OpenFile(System::String, System::String, bool) | Initialize new instance of the Document class for working with encrypted document. |
OpenFile(System::String, System::SharedPtr<LoadOptions>) | Open an existing document from a file providing necessary converting oprions to get pdf document. |
OpenStream(System::SharedPtr<System::IO::Stream>) | Initialize and return new Document instance from the input stream. |
OpenStream(System::SharedPtr<System::IO::Stream>, System::String) | Initialize and return new Document instance from the input stream. |
OpenStream(System::SharedPtr<System::IO::Stream>, bool) | Initialize and return new Document instance from the input stream. |
OpenStream(System::SharedPtr<System::IO::Stream>, System::String, bool) | Initialize and return new Document instance from the input stream. |
OpenStream(System::SharedPtr<System::IO::Stream>, System::SharedPtr<LoadOptions>) | Open and return an existing document from a stream providing necessary converting to get pdf document. |
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
- Class Object
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++