Vcl.Direct2D.TDirect2DCanvas.Font

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Font: TDirect2DFont read GetFont write SetFont;

C++

__property TDirect2DFont* Font = {read=GetFont, write=SetFont};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Direct2D.pas
Vcl.Direct2D.hpp
Vcl.Direct2D TDirect2DCanvas

Description

Specifies the font to use when writing text on the canvas.

Set Font to specify the font to use when writing text on the image. The value of Font is a TDirect2DFont object. Set the properties of the TDirect2DFont object to specify the face, color, size, style, and any other aspects of the font.

Setting the Font property assigns the specified TDirect2DFont object, instead of replacing the current TDirect2DFont object.

See Also