Aspose::Pdf::Text::FontRepository::OpenFont method
Contents
[
Hide
]FontRepository::OpenFont(System::SharedPtr<System::IO::Stream>, FontTypes) method
Opens font with specified font stream.
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(System::SharedPtr<System::IO::Stream> fontStream, FontTypes fontType)
Parameter | Type | Description |
---|---|---|
fontStream | System::SharedPtr<System::IO::Stream> | Font stream. |
fontType | FontTypes | Font type value. |
ReturnValue
Font object.
See Also
- Class Font
- Enum FontTypes
- Class FontRepository
- Namespace Aspose::Pdf::Text
- Library Aspose.PDF for C++
FontRepository::OpenFont(System::String) method
Opens font with specified font file path.
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(System::String fontFilePath)
Parameter | Type | Description |
---|---|---|
fontFilePath | System::String | Font file path. |
ReturnValue
Font object.
See Also
- Class Font
- Class FontRepository
- Namespace Aspose::Pdf::Text
- Library Aspose.PDF for C++
FontRepository::OpenFont(System::String, System::String) method
Opens font with specified font file path and metrics file path.
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(System::String fontFilePath, System::String metricsFilePath)
Parameter | Type | Description |
---|---|---|
fontFilePath | System::String | Font file path. |
metricsFilePath | System::String | Font metrics file patrh. |
ReturnValue
Font object.
See Also
- Class Font
- Class FontRepository
- Namespace Aspose::Pdf::Text
- Library Aspose.PDF for C++