Skip to content

SetFont

Narta Xaymar Dirks edited this page Oct 28, 2026 · 5 revisions

Blitz3DBlitzPlusBlitzBasic

SetFont

SetFont:Void font:Int32
Parameter Mode Type Default Description
font In Int32 required A handle from LoadFont. 0 goes back to the built-in font.

Description

Chooses the font that Text, Print, StringWidth and the other text commands use from now on.

Differences

  • A font that does not exist stops the program with an error message.

Related Commands

FontHeight, FontWidth, FreeFont, LoadFont

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally