StiFontGeom Class

Namespace: Stimulsoft.Base.Context

Inheritance

Inherits from: StiGeom

Constructors

Constructor Description
StiFontGeom(Font font)  
StiFontGeom(string fontName, float fontSize, FontStyle style, GraphicsUnit unit, byte gdiCharSet, bool gdiVerticalFont)  
StiFontGeom(FontFamily fontFamily, string fontName, float fontSize, FontStyle style, GraphicsUnit unit, byte gdiCharSet, bool gdiVerticalFont)  

StiFontGeom(font: Font)

Parameters


StiFontGeom(fontName: string, fontSize: float, style: FontStyle, unit: GraphicsUnit, gdiCharSet: byte, gdiVerticalFont: bool)

Parameters

  • fontName (string)
  • fontSize (float)
  • style (FontStyle)
  • unit (GraphicsUnit)
  • gdiCharSet (byte)
  • gdiVerticalFont (bool)

StiFontGeom(fontFamily: FontFamily, fontName: string, fontSize: float, style: FontStyle, unit: GraphicsUnit, gdiCharSet: byte, gdiVerticalFont: bool)

Parameters

  • fontFamily (FontFamily)
  • fontName (string)
  • fontSize (float)
  • style (FontStyle)
  • unit (GraphicsUnit)
  • gdiCharSet (byte)
  • gdiVerticalFont (bool)

Properties

Property Type Description
FontFamily FontFamily  
FontName string  
FontSize float  
FontStyle FontStyle  
GdiCharSet byte  
GdiVerticalFont bool  
Unit GraphicsUnit  

Methods

Method Returns Description
ChangeFontSize static StiFontGeom  
LoadFromJsonObject void  
SaveToJsonObject JObject  

Method Details

ChangeFontSize static

ChangeFontSize(font: Font, newFontSize: float): StiFontGeom

Parameters

  • font (Font)
  • newFontSize (float)

Returns StiFontGeom


LoadFromJsonObject

LoadFromJsonObject(jObject: JObject): void

Parameters


SaveToJsonObject

SaveToJsonObject(mode: StiJsonSaveMode): JObject

Parameters

Returns JObject