UpdateTitleFormat

Parent Previous Next

UpdateTitleFormat

This function updates the Chart's title font format.


Function Definition:


void UpdateTitleFormat (string family, int size, bool isBold, bool isItalic)


.      family: Represents the font family of the Title.

.      size: Represents the font size of the Title.

.      isBold: Represents if the Title is Bold or not.

       .       True - Bold;

       .       False - Not bold;

.      isItalic: Represents if the Title is Italic or not.

       .       True - Italic;

       .       False - Not italic;



To configure this function, follow the steps below:


1.   In an object event, configure the UpdateTitleFormat function: ChartObjectName.UpdateTitleFormat(family, size, isBold, isItalic);


2.    During the execution of RunTime, run the configured event.



Example UpdateTitleFormat:


In the graphic document, the user has one Chart object (named as GraphicObject1). In a Text-Box object (named as GraphicObject2) the user configures the MouseUp event with the following event:


GraphicObject1.UpdateTitleFormat("Arial",10,true,true);


In this event, the GraphicObject2 will sets the object title font family to Arial, font size to 10, bold and italic.



 

Note: This property exists only to the following objects:

.       Charts