Search
FlowChart.Font Property
See Also
 



Gets or sets the default font.

 Syntax

VB6  Copy Code

Public Property Get Font() As IFontDisp
Public Property Let Font( _
    ByVal value As IFontDisp _
)

C++  Copy Code

public:
IFontDisp* get_Font ()
void put_Font (
    IFontDisp* value
)

 Property Value

A font object. The default is Arial, 10.

 Remarks

Specifies a shared font used for rendering the text of diagram items whose own fonts are not set. In order to cut down memory consumption, the fonts of new boxes, arrows and tables are null references (Nothing in Visual Basic). Thus, new objects use the shared font until their own fonts are initialized.

Note that non-proportional fonts, such as Courier or MS Sans Serif cannot zoom out well. The minimum size that can be assigned to such fonts is the smallest value shown in the 'Size' combo box in the standard font dialog. If your application allows scaling to ZoomFactor less than 100, we recommend using proportional fonts such as Arial, Courier New or Verdana.

GDI+ works correctly only with proportional fonts. If you enable the GDI+ graphics engine, make sure that all fonts used in your application are proportional. Proportional fonts are marked with 'TT' or 'O' symbols in the standard Windows font dialog.

 See Also