FontMakeWithStyle

Typeexpression
DictionaryLCB
LibraryLiveCode Builder
Syntax
font <mName> with ( bold  | italic  | bold italic  ) style
Associationscom.livecode.canvas
Summary

Creates a new instance of the named font.

Parameters
NameTypeDescription
mName

An expression which evaluates to a string.

Example
// Create italic Arial font
variable tFont as Font
put font "Arial" with italic style into tFont
Values
NameTypeDescription
return

A new instance of the named font with style bold, italic, or bold italic, and the default size of 12pts.

Description

Creates a new instance of the named font.

Tagscanvas