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