DocTitleFont Property

Top  Previous  Next

Returns or sets a VB standard font object (StdFont) for the document title.


object.DocTitleFont [=StdFont]

Where object evaluates to a Smart Print Control.


This property sets or returns a VB standard font object for the document title. A standard font object is a font with sub properties like Name, Size, Bold, Italic, CharSet, etc. For example, you can specify the font properties for the document title as shown below:

DocTitleFont.Name = "Tahoma"  
DocTitleFont.Size = 16  
DocTitleFont.Bold = True  
DocTitleFont.Italic = False  
Note: When Smart Print Control is dropped on the form, all font properties of the control (DocFooterFont, DocHeaderFont, DocTextFont, DocTitleFont) will inherit the font settings of the form's font property. Therefore, if you wish to set all these properties to a specific font, set the form's font property before dropping the control on the form.