Aspose::Font::IFont Class Referenceabstract

Declares common functionality for all font formats. Implemented by Font classes. More...

#include <IFont.h>

Inherits System::Object.

Inherited by Aspose::Font::Font [virtual], and Aspose::Font::IFontSubset [virtual].

Public Member Functions

virtual Aspose::Font::FontType get_FontType ()=0
 Gets Font type.
 
virtual System::String get_Style ()=0
 Gets or Sets Font style. This is a raw string value provided by Font file.
 
virtual void set_Style (System::String value)=0
 Gets or Sets Font style. This is a raw string value provided by Font file.
 
virtual Aspose::Font::FontStyle get_FontStyle ()=0
 Gets Font style. This is a value computed and represented in generalized type.
 
virtual System::String get_FontFamily ()=0
 Gets or Sets Font family.
 
virtual void set_FontFamily (System::String value)=0
 Gets or Sets Font family.
 
virtual System::String get_FontName ()=0
 Gets or Sets Font face name.
 
virtual void set_FontName (System::String value)=0
 Gets or Sets Font face name.
 
virtual System::SharedPtr< MultiLanguageStringget_FontNames ()=0
 Gets Font names.
 
virtual System::SharedPtr< MultiLanguageStringget_PostscriptNames ()=0
 Gets postscript Font names.
 
virtual int32_t get_NumGlyphs ()=0
 Gets number of glyphs in the Font.
 
virtual System::SharedPtr< IFontMetricsget_Metrics ()=0
 Gets Font metrics.
 
virtual System::SharedPtr< IFontEncodingget_Encoding ()=0
 Gets Font encoding.
 
virtual System::SharedPtr< Glyphs::IGlyphAccessorget_GlyphAccessor ()=0
 Gets Font glyph accessor. Retrieves glyphs and glyph identifiers.
 
virtual System::SharedPtr< Aspose::Font::Sources::FontDefinitionget_FontDefinition ()=0
 Gets Font definition.
 
virtual System::SharedPtr< IFontSaverget_FontSaver ()=0
 Gets Font save functionality.
 
virtual System::SharedPtr< Aspose::Font::FontConvert (Aspose::Font::FontType fontType)=0
 Converts the Font into another format.
 

Detailed Description

Declares common functionality for all font formats. Implemented by Font classes.

Member Function Documentation

◆ Convert()

virtual System::SharedPtr< Aspose::Font::Font > Aspose::Font::IFont::Convert ( Aspose::Font::FontType fontType)
pure virtual

Converts the Font into another format.

Parameters
fontTypetype to convert to font into
Returns
font converted into format specified

Implemented in Aspose::Font::Cff::CffFont, Aspose::Font::Font, Aspose::Font::Ttf::TtfFont, and Aspose::Font::Type1::Type1Font.

◆ get_Encoding()

virtual System::SharedPtr< IFontEncoding > Aspose::Font::IFont::get_Encoding ( )
pure virtual

◆ get_FontDefinition()

virtual System::SharedPtr< Aspose::Font::Sources::FontDefinition > Aspose::Font::IFont::get_FontDefinition ( )
pure virtual

◆ get_FontFamily()

virtual System::String Aspose::Font::IFont::get_FontFamily ( )
pure virtual

◆ get_FontName()

virtual System::String Aspose::Font::IFont::get_FontName ( )
pure virtual

◆ get_FontNames()

virtual System::SharedPtr< MultiLanguageString > Aspose::Font::IFont::get_FontNames ( )
pure virtual

◆ get_FontSaver()

virtual System::SharedPtr< IFontSaver > Aspose::Font::IFont::get_FontSaver ( )
pure virtual

Gets Font save functionality.

Implemented in Aspose::Font::Font.

◆ get_FontStyle()

virtual Aspose::Font::FontStyle Aspose::Font::IFont::get_FontStyle ( )
pure virtual

Gets Font style. This is a value computed and represented in generalized type.

Implemented in Aspose::Font::Cff::CffFont, Aspose::Font::Font, Aspose::Font::Ttf::TtfFont, Aspose::Font::Type1::Type1Font, and Aspose::Font::Type1::Type1MetricFont.

◆ get_FontType()

virtual Aspose::Font::FontType Aspose::Font::IFont::get_FontType ( )
pure virtual

◆ get_GlyphAccessor()

virtual System::SharedPtr< Glyphs::IGlyphAccessor > Aspose::Font::IFont::get_GlyphAccessor ( )
pure virtual

Gets Font glyph accessor. Retrieves glyphs and glyph identifiers.

Implemented in Aspose::Font::Font.

◆ get_Metrics()

virtual System::SharedPtr< IFontMetrics > Aspose::Font::IFont::get_Metrics ( )
pure virtual

◆ get_NumGlyphs()

virtual int32_t Aspose::Font::IFont::get_NumGlyphs ( )
pure virtual

◆ get_PostscriptNames()

virtual System::SharedPtr< MultiLanguageString > Aspose::Font::IFont::get_PostscriptNames ( )
pure virtual

◆ get_Style()

virtual System::String Aspose::Font::IFont::get_Style ( )
pure virtual

Gets or Sets Font style. This is a raw string value provided by Font file.

Implemented in Aspose::Font::Cff::CffFont, Aspose::Font::Font, Aspose::Font::Ttf::TtfFont, Aspose::Font::Type1::Type1Font, and Aspose::Font::Type1::Type1MetricFont.

◆ set_FontFamily()

virtual void Aspose::Font::IFont::set_FontFamily ( System::String value)
pure virtual

◆ set_FontName()

virtual void Aspose::Font::IFont::set_FontName ( System::String value)
pure virtual

◆ set_Style()

virtual void Aspose::Font::IFont::set_Style ( System::String value)
pure virtual

Gets or Sets Font style. This is a raw string value provided by Font file.

Implemented in Aspose::Font::Cff::CffFont, Aspose::Font::Font, Aspose::Font::Ttf::TtfFont, and Aspose::Font::Type1::Type1Font.