EControl Syntax Editor SDK
TSyntaxFormat.ApplyTo Method

Sets properties of style to Canvas.

procedure ApplyTo(Canvas: TCanvas; AllowChangeFont: Boolean = True);

Sets only properties which are allowed by the FormatType and FormatFlags. If AllowChangeFont is True skips font properties except font style.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!