ImageEn, unit ieview

TIEView.SetDrawTextProperties

TIEView.SetDrawTextProperties


Declaration

procedure SetDrawTextProperties(FontSize: Integer; FontColor: TColor; FontOpacity: Double = 0.66);


Description

Specifies the style of the font when drawing the Version and Debug Information.

Defaults
FontSize : 16;
FontColor : clYellow;
FontOpacity : 0.66;

Note: The version will be drawn with 25% more opacity than the specified value

TImageEnView showing Debug Information (top-left) and Version (Bottom-Right):



Example

// Draw version with large font and low opacity
// Opacity will be 30% (= 0.24 * 1.25)
ImageEnView1.SetDrawTextProperties( 20, clBlack, 0.24 );
ImageEnView1.DrawVersion := True;