Command WR SET STYLESHEET FONT

4D Write

WR SET STYLESHEET FONT

version 6.5


WR SET STYLESHEET FONT (area; stylesheetNumber; font)

ParameterTypeDescription
areaLongint4D Write area
stylesheetNumberLongintStylesheet number
fontAlphaFont name

Description

The WR SET STYLESHEET FONT command allows you to modify the character font for the style sheet whose number is passed in styleSheetNumber in the 4D Write document referenced by area.

Pass in font the name of the font you want to apply. If you want to apply the style sheet to the selection, pass an empty character string in font.

If font is not installed in the system, the error 1077 (Font not in system) is returned.

Example

See the example for the command WR SET STYLESHEET INFO.

See Also

WR Get stylesheet font, WR SET FONT.