Font()
Contents
[
Hide
]Font::Font(const SharedPtr<Font>&, FontStyle) constructor
Constructs a new instance of Font class that represents the specified existing font with the specified font style.
System::Drawing::Font::Font(const SharedPtr<Font> &prototype, FontStyle new_style)
Arguments
Parameter | Type | Description |
---|---|---|
prototype | const SharedPtr<Font>& | The existing font to create the new one from |
new_style | FontStyle | A font style to apply to the new font |
Font::Font(const SharedPtr<FontFamily>&, float, FontStyle, GraphicsUnit, uint8_t, bool) constructor
Constructs a new instance of Font class.
System::Drawing::Font::Font(const SharedPtr<FontFamily> &family, float em_size, FontStyle style, GraphicsUnit unit=GraphicsUnit::Point, uint8_t gdi_charset=1, bool gdi_vertical_font=false)
Arguments
Parameter | Type | Description |
---|---|---|
family | const SharedPtr<FontFamily>& | The font family of the new font |
em_size | float | The em size of the new font in the units specified by unit parameter |
style | FontStyle | The style of the new font |
unit | GraphicsUnit | The measurement units of the new font |
gdi_charset | uint8_t | A GDI charset to be used for the new font |
gdi_vertical_font | bool | True if the new font is derived from a GDI vertical font |
Font::Font(const SharedPtr<FontFamily>&, float, GraphicsUnit) constructor
Constructs a new instance of Font class.
System::Drawing::Font::Font(const SharedPtr<FontFamily> &family, float em_size, GraphicsUnit unit=GraphicsUnit::Point)
Arguments
Parameter | Type | Description |
---|---|---|
family | const SharedPtr<FontFamily>& | The font family of the new font |
em_size | float | The em size of the new font in the units specified by unit parameter |
unit | GraphicsUnit | The measurement units of the new font |
Font::Font(const String&, float, FontStyle, GraphicsUnit, uint8_t, bool) constructor
Constructs a new instance of Font class.
System::Drawing::Font::Font(const String &family_name, float em_size, FontStyle style, GraphicsUnit unit=GraphicsUnit::Point, uint8_t gdi_charset=1, bool gdi_vertical_font=false)
Arguments
Parameter | Type | Description |
---|---|---|
family_name | const String& | The name of the new font’s font family |
em_size | float | The em size of the new font in the units specified by unit parameter |
style | FontStyle | The style of the new font |
unit | GraphicsUnit | The measurement units of the new font |
gdi_charset | uint8_t | A GDI charset to be used for the new font |
gdi_vertical_font | bool | True if the new font is derived from a GDI vertical font |
Font::Font(const String&, float, GraphicsUnit) constructor
Constructs a new instance of Font class.
System::Drawing::Font::Font(const String &family_name, float em_size, GraphicsUnit unit=GraphicsUnit::Point)
Arguments
Parameter | Type | Description |
---|---|---|
family_name | const String& | The name of the new font’s font family |
em_size | float | The em size of the new font in the units specified by unit parameter |
unit | GraphicsUnit | The measurement units of the new font |
See Also
- Enum FontStyle
- Enum GraphicsUnit
- Typedef SharedPtr
- Class Font
- Class FontFamily
- Class String
- Namespace System::Drawing
- Library Aspose.Slides