SetFontStyle

From SwinGame

SetFontStyle sets the style of the passed in font. This is time consuming, so load fonts multiple times and set the style for each if needed.

Where is it: SGSDK_FONT

Contents

Languages

Pascal

procedure SetFontStyle(font: Font; style: FontStyle);

C#

public void Text.SetFontStyle(Font font, FontStyle style);

Visual Basic .NET

Public Sub Text.SetFontStyle(ByVal font As Font, ByVal style As FontStyle)

Visual Basic 6

Public Sub Text.SetFontStyle(ByVal font As Fonts, ByVal style As FontStyle)

Example

Also See