Aspose::Pdf::DocumentFactory::CreateDocument método

DocumentFactory::CreateDocument() method

Crear documento vacío.

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

ReturnValue

Documento creado.

Ver también

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

Cargar documento desde un flujo.

System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument(const System::SharedPtr<System::IO::Stream> &input)
ParámetroTipoDescripción
inputconst System::SharedPtr<System::IO::Stream>&Secuencia de entrada.

ReturnValue

Documento creado.

Ver también

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

Crear documento.

System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument(const System::SharedPtr<System::IO::Stream> &input, const System::SharedPtr<LoadOptions> &options)
ParámetroTipoDescripción
inputconst System::SharedPtr<System::IO::Stream>&Secuencia de entrada.
optionsconst System::SharedPtr<LoadOptions>&Document opciones de carga.

ReturnValue

Documento creado.

Ver también

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

Cargar documento protegido con contraseña desde un flujo.

System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument(const System::SharedPtr<System::IO::Stream> &input, const System::String &password)
ParámetroTipoDescripción
inputconst System::SharedPtr<System::IO::Stream>&Flujo de origen.
passwordconst System::String&Contraseña para acceder al documento.

ReturnValue

Documento creado.

Ver también

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

Cargar documento desde un archivo.

System::SharedPtr<Document> Aspose::Pdf::DocumentFactory::CreateDocument(const System::String &fileName)
ParámetroTipoDescripción
fileNameconst System::String&Nombre del archivo PDF.

ReturnValue

Documento creado.

Ver también