Aspose::Page::ExternalFontCache::CreateFontByFamilyName method

ExternalFontCache::CreateFontByFamilyName method

Fetches DrFont by font family name, size, style and font capitals.

static System::SharedPtr<System::Drawing::Font> Aspose::Page::ExternalFontCache::CreateFontByFamilyName(System::String familyName, float size, System::Drawing::FontStyle style)
ParameterTypeDescription
familyNameSystem::StringFont family name.
sizePointsfloatFont size in points (one point is 1/72 of inch).
styleSystem::Drawing::FontStyleFont style.

ReturnValue

Returns DrFont

Remarks

Fetches DrFont by font family name, size, style and alternative font family name.

Fetches DrFont by font family name, size, style, font capitals and alternative font family name.

Fetches System::Drawing::Font by font family name, style and size.

Creates System::Drawing::Font by font family name, style and size.

///

See Also