The Font Object provides properties for retrieving information and setting options for the font used in a specified field (that is, Bold, line style, etc.). A Font Object is obtained from the Font property of the FieldObject Object. Options, such as font name, defined by this object are dependent upon the printer driver selected for the report.
Note: You must always use a prefix when referencing the Font Object. Visual Basic includes a VB Font Object that is always included when creating a project, so conflicts will always occur unless the object is properly referenced (for example, CRPEAuto.Font). For more information see Object Naming Conflicts.
| Property | Description | Read/Write |
Returns a reference to the Application Object, that this object is associated with. | ||
Returns/Sets a number representing the color of the font. The number represents an OLE color that can be set by using RGB (that is, RGB (255, 0, 0 for red) or by specifying CRColor (see table below). | ||
| Constant | Value | |
| Property | Description | Read/Write |
Returns/Sets Boolean value indicating whether or not the font is italicized. | ||
Returns/Sets the name of the font. Available fonts for any report are dependent upon the printer driver selected for the report. | ||
Reference to the Parent object (FieldObject Object). | ||
Reference to Report Object. | ||
Returns/Sets Boolean value indicating whether or not the font is struck out. | ||
Returns/Sets Boolean value indicating whether or not the font is underlined. | ||
Returns/Sets the weight of the font. CRFontWeight (see table below) can be used for convenience. | ||
| Constant | Value | |
| Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |