[Overview][Types][Classes][Index] Reference for unit 'LazCanvas' (#lcl)

TLazCanvas.AssignFontData

Srts the Font data for the canvas.

Declaration

Source position: lazcanvas.pas line 143

public procedure TLazCanvas.AssignFontData(

  AFont: TFPCustomFont

);

Description

Utilized by LCLIntf.SelectObject and by the RestoreState method. This is needed because calling Assign for the Pen, Brush, or Font properties raises exceptions.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.