Aspose::Pdf::Document::Document constructor

Contents
[ ]

Document::Document() constructor

Initializes empty document.

Aspose::Pdf::Document::Document()

See Also

Document::Document(const System::SharedPtr<System::IO::Stream>&) constructor

Initialize new Document instance from the input stream.

Aspose::Pdf::Document::Document(const System::SharedPtr<System::IO::Stream> &input)
ParameterTypeDescription
inputconst System::SharedPtr<System::IO::Stream>&Stream with pdf document.

See Also

Document::Document(const System::SharedPtr<System::IO::Stream>&, bool) constructor

Initialize new Document instance from the input stream.

Aspose::Pdf::Document::Document(const System::SharedPtr<System::IO::Stream> &input, bool isManagedStream)
ParameterTypeDescription
inputconst System::SharedPtr<System::IO::Stream>&Stream with pdf document.
isManagedStreamboolif set to true inner stream is closed before exit; otherwise, is not.

See Also

Document::Document(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<LoadOptions>&) constructor

Opens an existing document from a stream providing necessary converting to get pdf document.

Aspose::Pdf::Document::Document(const System::SharedPtr<System::IO::Stream> &input, const System::SharedPtr<LoadOptions> &options)
ParameterTypeDescription
inputconst System::SharedPtr<System::IO::Stream>&Input stream to convert into pdf document.
optionsconst System::SharedPtr<LoadOptions>&Represents properties for converting input into pdf document.

See Also

Document::Document(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<Security::CertificateEncryptionOptions>&) constructor

Initialize new Document instance from the input stream.

Aspose::Pdf::Document::Document(const System::SharedPtr<System::IO::Stream> &input, const System::SharedPtr<Security::CertificateEncryptionOptions> &certOptions)
ParameterTypeDescription
inputconst System::SharedPtr<System::IO::Stream>&Input stream object, corresponding pdf is password protected.
certOptionsconst System::SharedPtr<Security::CertificateEncryptionOptions>&The certificate encryption options.

See Also

Document::Document(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<Security::CertificateEncryptionOptions>&, bool) constructor

Initialize new Document instance from the input stream.

Aspose::Pdf::Document::Document(const System::SharedPtr<System::IO::Stream> &input, const System::SharedPtr<Security::CertificateEncryptionOptions> &certOptions, bool isManagedStream)
ParameterTypeDescription
inputconst System::SharedPtr<System::IO::Stream>&Stream with pdf document.
certOptionsconst System::SharedPtr<Security::CertificateEncryptionOptions>&The certificate encryption options.
isManagedStreamboolIf set to true inner stream is closed before exit; otherwise, is not.

See Also

Document::Document(const System::SharedPtr<System::IO::Stream>&, const System::String&) constructor

Initialize new Document instance from the input stream.

Aspose::Pdf::Document::Document(const System::SharedPtr<System::IO::Stream> &input, const System::String &password)
ParameterTypeDescription
inputconst System::SharedPtr<System::IO::Stream>&Input stream object, corresponding pdf is password protected.
passwordconst System::String&User or owner password.

See Also

Document::Document(const System::SharedPtr<System::IO::Stream>&, const System::String&, bool) constructor

Initialize new Document instance from the input stream.

Aspose::Pdf::Document::Document(const System::SharedPtr<System::IO::Stream> &input, const System::String &password, bool isManagedStream)
ParameterTypeDescription
inputconst System::SharedPtr<System::IO::Stream>&Stream with pdf document.
passwordconst System::String&User or owner password.
isManagedStreamboolIf set to true inner stream is closed before exit; otherwise, is not.

See Also

Document::Document(const System::SharedPtr<System::IO::Stream>&, const System::String&, bool, const System::SharedPtr<Security::ICustomSecurityHandler>&) constructor

Initialize new Document instance from the input stream.

Aspose::Pdf::Document::Document(const System::SharedPtr<System::IO::Stream> &input, const System::String &password, bool isManagedStream, const System::SharedPtr<Security::ICustomSecurityHandler> &customSecurityHandler)
ParameterTypeDescription
inputconst System::SharedPtr<System::IO::Stream>&Stream with pdf document.
passwordconst System::String&User or owner password.
isManagedStreamboolIf set to true inner stream is closed before exit; otherwise, is not.
customSecurityHandlerconst System::SharedPtr<Security::ICustomSecurityHandler>&The custom security handler.

See Also

Document::Document(const System::SharedPtr<System::IO::Stream>&, const System::String&, const System::SharedPtr<Security::ICustomSecurityHandler>&) constructor

Initialize new Document instance from the input stream.

Aspose::Pdf::Document::Document(const System::SharedPtr<System::IO::Stream> &input, const System::String &password, const System::SharedPtr<Security::ICustomSecurityHandler> &customSecurityHandler)
ParameterTypeDescription
inputconst System::SharedPtr<System::IO::Stream>&Input stream object, corresponding pdf is password protected.
passwordconst System::String&User or owner password.
customSecurityHandlerconst System::SharedPtr<Security::ICustomSecurityHandler>&The custom security handler.

See Also

Document::Document(const System::String&) constructor

Just init Document using filename . The same as Document(Stream).

Aspose::Pdf::Document::Document(const System::String &filename)
ParameterTypeDescription
filenameconst System::String&The name of the pdf document file.

See Also

Document::Document(const System::String&, bool) constructor

Just init Document using filename . The same as Document(Stream).

Aspose::Pdf::Document::Document(const System::String &filename, bool isManagedStream)
ParameterTypeDescription
filenameconst System::String&The name of the pdf document file.
isManagedStreamboolIf set to true inner stream is closed before exit; otherwise, is not.

See Also

Document::Document(const System::String&, const System::SharedPtr<LoadOptions>&) constructor

Opens an existing document from a file providing necessary converting options to get pdf document.

Aspose::Pdf::Document::Document(const System::String &filename, const System::SharedPtr<LoadOptions> &options)
ParameterTypeDescription
filenameconst System::String&Input file to convert into pdf document.
optionsconst System::SharedPtr<LoadOptions>&Represents properties for converting filename into pdf document.

See Also

Document::Document(const System::String&, const System::SharedPtr<Security::CertificateEncryptionOptions>&) constructor

Initializes new instance of the Document class for working with encrypted document.

Aspose::Pdf::Document::Document(const System::String &filename, const System::SharedPtr<Security::CertificateEncryptionOptions> &certOptions)
ParameterTypeDescription
filenameconst System::String&Document file name.
certOptionsconst System::SharedPtr<Security::CertificateEncryptionOptions>&The certificate encryption options.

See Also

Document::Document(const System::String&, const System::SharedPtr<Security::CertificateEncryptionOptions>&, bool) constructor

Initializes new instance of the Document class for working with encrypted document.

Aspose::Pdf::Document::Document(const System::String &filename, const System::SharedPtr<Security::CertificateEncryptionOptions> &certOptions, bool isManagedStream)
ParameterTypeDescription
filenameconst System::String&Document file name.
certOptionsconst System::SharedPtr<Security::CertificateEncryptionOptions>&The certificate encryption options.
isManagedStreamboolif set to true inner stream is closed before exit; otherwise, is not.

See Also

Document::Document(const System::String&, const System::String&) constructor

Initializes new instance of the Document class for working with encrypted document.

Aspose::Pdf::Document::Document(const System::String &filename, const System::String &password)
ParameterTypeDescription
filenameconst System::String&Document file name.
passwordconst System::String&User or owner password.

See Also

Document::Document(const System::String&, const System::String&, bool) constructor

Initializes new instance of the Document class for working with encrypted document.

Aspose::Pdf::Document::Document(const System::String &filename, const System::String &password, bool isManagedStream)
ParameterTypeDescription
filenameconst System::String&Document file name.
passwordconst System::String&User or owner password.
isManagedStreamboolif set to true inner stream is closed before exit; otherwise, is not.

See Also

Document::Document(const System::String&, const System::String&, bool, const System::SharedPtr<Security::ICustomSecurityHandler>&) constructor

Initializes new instance of the Document class for working with encrypted document.

Aspose::Pdf::Document::Document(const System::String &filename, const System::String &password, bool isManagedStream, const System::SharedPtr<Security::ICustomSecurityHandler> &customSecurityHandler)
ParameterTypeDescription
filenameconst System::String&Document file name.
passwordconst System::String&User or owner password.
isManagedStreamboolif set to true inner stream is closed before exit; otherwise, is not.
customSecurityHandlerconst System::SharedPtr<Security::ICustomSecurityHandler>&The custom security handler.

See Also

Document::Document(const System::String&, const System::String&, const System::SharedPtr<Security::ICustomSecurityHandler>&) constructor

Initializes new instance of the Document class for working with encrypted document.

Aspose::Pdf::Document::Document(const System::String &filename, const System::String &password, const System::SharedPtr<Security::ICustomSecurityHandler> &customSecurityHandler)
ParameterTypeDescription
filenameconst System::String&Document file name.
passwordconst System::String&User or owner password.
customSecurityHandlerconst System::SharedPtr<Security::ICustomSecurityHandler>&The custom security handler.

See Also

Document::Document(PdfVersion) constructor

Initializes empty document by version.

Aspose::Pdf::Document::Document(PdfVersion version)
ParameterTypeDescription
versionPdfVersionThe PDF version.

See Also