Instance Method

changeFont:

An action method that changes the font of the selection, or all content if there is no selection.

Declaration

- (void)changeFont:(id)sender;

Parameters

sender

The object that sent this message.

Discussion

If the receiver doesn’t use the Fonts panel, this method does nothing.

See Also

Changing the Font, Color and Other Attributes When Editing

- changeAttributes:

An action method that changes the attributes of the current selection.

- changeDocumentBackgroundColor:

Sets the background color of the selected content.

- changeColor:

Sets the color of the selected content.