Aspose::Pdf::Text::FontRepository::OpenFont‑metod
Innehåll
[
Dölj
]FontRepository::OpenFont(const System::SharedPtr<System::IO::Stream>&, const FontTypes&) method
Öppnar teckensnitt med angiven teckensnittström.
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(const System::SharedPtr<System::IO::Stream> &fontStream, const FontTypes &fontType)
| Parameter | Typ | Beskrivning |
|---|---|---|
| fontStream | const System::SharedPtr<System::IO::Stream>& | Font ström. |
| fontType | const FontTypes& | Font typvärde. |
ReturnValue
Font object.
Se även
- 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
Öppnar teckensnitt med angiven teckensnittsfilssökväg.
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(const System::String &fontFilePath)
| Parameter | Typ | Beskrivning |
|---|---|---|
| fontFilePath | const System::String& | Font filsökväg. |
ReturnValue
Font object.
Se även
- 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
Öppnar teckensnitt med angiven teckensnittsfilssökväg och metrisfilssökväg.
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::OpenFont(const System::String &fontFilePath, const System::String &metricsFilePath)
| Parameter | Typ | Beskrivning |
|---|---|---|
| fontFilePath | const System::String& | Font filsökväg. |
| metricsFilePath | const System::String& | Font metrikfilens sökväg. |
ReturnValue
Font object.
Se även
- Typedef SharedPtr
- Class Font
- Class String
- Class FontRepository
- Namespace Aspose::Pdf::Text
- Library Aspose.PDF for C++