TitleHorizontalAlignment

Parent Previous Next

TitleHorizontalAlignment

This property returns the title alignment of the graphic object.


Function Definition:


string TitleHorizontalAlignment {get; set;}


.     get: Permits the user to read the string value.

.     set: Permits the user to write the string value.



To configure this function, follow the steps below:


1.   In an object event, configure the TitleHorizontalAlignment function: ChartObjectName.TitleHorizontalAlignment;


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



Example Get:


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:


GraphicObject2.Text = GraphicObject1.TitleHorizontalAlignment;


In this event, the GraphicObject2 will exhibit the string value indicating the value of the object Title.



Example Set:


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


GraphicObject1.TitleHorizontalAlignment =  "Center";


In this event, the GraphicObject1 will changes the title of the object to Example.



 

Note: This property exists only to the following objects:

.       Charts