Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## plain-to-rich-text

Arguments: string face point-size &key boldp italicp underlinep color

Creates and returns a rich-text string with the text of the specified plain-text string and with the specified character formatting. face should be the keyword name of an installed font face. point-size is the size of the font in points. boldp, italicp, and underlinep each turn on the corresponding font attribute when true. color should be an rgb object (see make-rgb) indicating the foreground color of the text. If string is the null string (a string of length zero), then the value of `*empty-rtf-string*` is returned.

See cg-rich-text.htm for information about rich text editing in Common Graphics.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version