TCustomRVFontInfo.AssignTo

<< Click to display table of contents >>

TCustomRVFontInfo.AssignTo

Copies the properties of this text style to the destination object Dest.

procedure AssignTo(Dest: TPersistent);override;

Do not call AssignTo directly, this method is called from Assign method of a destination object.

AssignTo allows to assign text style to TFont.

Example:

MyEdit.Font.Assign(MyRVStyle.TextStyles[0]);