Unit 'LazCanvas' Package
[Overview][Types][Classes][Index] [#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.