Método Aspose::Pdf::Text::FontRepository::OpenFont

FontRepository::OpenFont(const System::SharedPtr<System::IO::Stream>&, const FontTypes&) method

Abre la fuente con el flujo de fuente especificado.

static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(const System::SharedPtr<System::IO::Stream> &fontStream, const FontTypes &fontType)
ParámetroTipoDescripción
fontStreamconst System::SharedPtr<System::IO::Stream>&Font flujo.
fontTypeconst FontTypes&Font valor de tipo.

ReturnValue

Font object.

Ver también

FontRepository::OpenFont(const System::String&) method

Abre la fuente con la ruta de archivo de fuente especificada.

static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(const System::String &fontFilePath)
ParámetroTipoDescripción
fontFilePathconst System::String&Font ruta del archivo.

ReturnValue

Font object.

Ver también

FontRepository::OpenFont(const System::String&, const System::String&) method

Abre la fuente con la ruta de archivo de fuente y la ruta de archivo de métricas especificadas.

static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(const System::String &fontFilePath, const System::String &metricsFilePath)
ParámetroTipoDescripción
fontFilePathconst System::String&Font ruta del archivo.
metricsFilePathconst System::String&Font ruta del archivo de métricas.

ReturnValue

Font object.

Ver también