CNiAxis3D::CaptionFont

3D Graph

Class
CNiAxis3D::
CaptionFont
Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: CaptionColorNext page: CaptionNormal    
Public Data Item Declared in:
NiAxis3d.h

'Declaration' icon -- Shortcut to top of page. Declaration

CNiFont CaptionFont;

'Description' icon -- Shortcut to top of page. Description

Specifies the font of the axis caption.

Note that you must initialize a CNiFont object from an existing object. For example:

   CNiFont font = axis.CaptionFont;
   font.Name = "Courier";
   font.Size = 12;

If you do not initialize a CNiFont object from an existing object, a CNiObjectNotInUsableState exception will be thrown when you attempt to manipulate the instance of the CNiFont. For example:

   CNiFont font;

// This will throw a CNiObjectNotInUsableState exception because // the CNiFont object was not initialized from an existing object. font.Name = "Courier";

'See Also' icon -- Shortcut to top of page. See Also