Aspose::Pdf::Text::FontRepository::FindFont method
Contents
[
Hide
]FontRepository::FindFont(const System::String&, FontStyles) method
Searches and returns font with specified font name and font style.
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(const System::String &fontFamilyName, FontStyles stl)
| Parameter | Type | Description |
|---|---|---|
| fontFamilyName | const System::String& | Font family name. |
| stl | FontStyles | Font style value. |
ReturnValue
Font object corresponding to search request parameters.
See Also
- Typedef SharedPtr
- Class Font
- Class String
- Enum FontStyles
- Class FontRepository
- Namespace Aspose::Pdf::Text
- Library Aspose.PDF for C++
FontRepository::FindFont(const System::String&, FontStyles, bool) method
Searches and returns font with specified font name and font style ignoring or honoring case sensitivity.
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(const System::String &fontFamilyName, FontStyles stl, bool ignoreCase)
| Parameter | Type | Description |
|---|---|---|
| fontFamilyName | const System::String& | Font family name. |
| stl | FontStyles | Font style value. |
| ignoreCase | bool | case sensitivity |
ReturnValue
Font object corresponding to search request parameters.
See Also
- Typedef SharedPtr
- Class Font
- Class String
- Enum FontStyles
- Class FontRepository
- Namespace Aspose::Pdf::Text
- Library Aspose.PDF for C++
FontRepository::FindFont(const System::String&) method
Searches and returns font with specified font name.
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(const System::String &fontName)
| Parameter | Type | Description |
|---|---|---|
| fontName | const System::String& | Font name. |
ReturnValue
Font object.
See Also
- Typedef SharedPtr
- Class Font
- Class String
- Class FontRepository
- Namespace Aspose::Pdf::Text
- Library Aspose.PDF for C++
FontRepository::FindFont(const System::String&, bool) method
Searches and returns font with specified font name ignoring or honoring case sensitivity.
static System::SharedPtr<Font> Aspose::Pdf::Text::FontRepository::FindFont(const System::String &fontName, bool ignoreCase)
| Parameter | Type | Description |
|---|---|---|
| fontName | const System::String& | Font name. |
| ignoreCase | bool | case sensitivity |
ReturnValue
Font object.
See Also
- Typedef SharedPtr
- Class Font
- Class String
- Class FontRepository
- Namespace Aspose::Pdf::Text
- Library Aspose.PDF for C++