FontMakeWithStyleAndSize

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

Creates a new instance of the named font.

Parameters
NameTypeDescription
mName

An expression which evaluates to a string.

mSize

An Expression which evaluates to a number.

Example
// Create 20pt bold Arial font
variable tFont as Font
put font "Arial" with bold style at size 20 into tFont
Values
NameTypeDescription
return

A new instance of the named font with style bold, italic, or bold italic, at size mSize points.

Description

Creates a new instance of the named font.

Tagscanvas