Create a Font.

If the Font could not be created then an MS Sans Serif Font will be returned if the Font Name did not exist (standard Dot Net behaviour) or an Arial Font otherwise.

Syntax

ISReportFunctions.RpxCreateFont(name, size, [bold], [italic], [underline])

Parameters

NameTypeOptionalByRefDescription
name String The Font Name or blank to use Arial.
size Double The Font Size in points.
bold Boolean Optional Indicates whether to create a Bold Font. If omitted, a value of False is assumed.
italic Boolean Optional Indicates whether to create an Italic Font. If omitted, a value of False is assumed.
underline Boolean Optional Indicates whether to create an Underline Font. If omitted, a value of False is assumed.

Return Value

ActiveReports.Document.Drawing.Font

A Font value.

Member of:
ISReportFunctions
Namespace:
Intersoft.ISReports6
Assembly:
ISReports6, Version=6.0.3
Target Framework:
.NET 9.0