Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

CloseFont

Release a pointer to a system font.

Declaration

Source position: agraphics.pas line 2306

procedure CloseFont(

  TextFont: PTextFont

);

Arguments

TextFont

  

A font pointer as returned by OpenFont() or OpenDiskFont()

Description

This function indicates that the font specified is no longer in use. It is used to close a font opened by OpenFont(), so that fonts that are no longer in use do not consume system resources.


Documentation generated on: 2021-07-30