SAS Component Language Dictionary |
Sets the text of a title definition
Category: |
SAS System Option
|
CALL SETTITLE(title-num,title-text);
|
-
title-num
-
is the number (1 to 10) of the title definition
to create or modify.
Type: Numeric
-
title-text
-
is the text for the title definition.
Type: Character
SETTITLE works just like the TITLE statement. It clears
all title definitions that are numbered higher than the one created. You
cannot use SETTITLE to set graphic options such as color, font, and position.
You can view title definitions in the TITLES window
by using the TITLE command. However, changing any text in the TITLES window
resets all graphically defined title options such as color, font, and position.
For more information about titles, see
SAS Language Reference: Dictionary. For more information about
graphical titles, see
SAS/GRAPH: Reference
.
Create a title numbered 2. The statement deletes all
titles with numbers greater than 2.
call settitle(2,'This is the Second Title');
GETFOOT
GETTITLE
SETFOOT
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.