Aspose::Pdf::DocumentFactory::CreateDocument‑metod

DocumentFactory::CreateDocument() method

Skapa tomt dokument.

System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument()

ReturnValue

Skapat dokument.

Se även

DocumentFactory::CreateDocument(const System::SharedPtr<System::IO::Stream>&) method

Läs in dokument från en ström.

System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument(const System::SharedPtr<System::IO::Stream> &input)
ParameterTypBeskrivning
inmatningconst System::SharedPtr<System::IO::Stream>&Indataström.

ReturnValue

Skapat dokument.

Se även

DocumentFactory::CreateDocument(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<LoadOptions>&) method

Skapa dokument.

System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument(const System::SharedPtr<System::IO::Stream> &input, const System::SharedPtr<LoadOptions> &options)
ParameterTypBeskrivning
inmatningconst System::SharedPtr<System::IO::Stream>&Indataström.
optionsconst System::SharedPtr<LoadOptions>&Document laddningsalternativ.

ReturnValue

Skapat dokument.

Se även

DocumentFactory::CreateDocument(const System::SharedPtr<System::IO::Stream>&, const System::String&) method

Läs in lösenordsskyddat dokument från en ström.

System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument(const System::SharedPtr<System::IO::Stream> &input, const System::String &password)
ParameterTypBeskrivning
inmatningconst System::SharedPtr<System::IO::Stream>&Källström.
passwordconst System::String&Lösenord för åtkomst till dokumentet.

ReturnValue

Skapat dokument.

Se även

DocumentFactory::CreateDocument(const System::String&) method

Läs in dokument från en fil.

System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument(const System::String &fileName)
ParameterTypBeskrivning
fileNameconst System::String&Namn på PDF‑fil.

ReturnValue

Skapat dokument.

Se även