SetTitleProperty

 

Purpose: Set the chart title properties

 

Argument  

Type

Required

Purpose

1

String

Yes

"Line1TextColor"  

arg 2 is the color.  See color numbering.

"Line2TextColor"  

arg 2 is the color.  See color numbering.

"Line3TextColor"  

arg 2 is the color.  See color numbering.

"Align"

arg 2 is 0=left, 1=center, 2=right

"ShowBorder"  

arg 2 is 0=no, 1=yes

"ShowShadow"  

arg 2 is 0=no, 1=yes

"FullWidthBackground"  

arg 2 is 0=no, 1=yes

"BackgroundColor"  

arg 2 is the color.  See color numbering.

"TargetColor"  

arg 2 is the color.  See color numbering.

"ShadowColor"  

arg 2 is the color.  See color numbering.

"FadeType"  

arg 2 is 0-6.  See fade types.

"Highlight"

arg 2 is 0=none, 1=engrave, 2=emboss, 3=shadow

"ExtraSpaceBelow"

arg 2 is 0=no, 1=yes

2

Variant

   

 

 

Example

 

 

with objmilestones

  .allcolorsarergb

  .SetTitleProperty "Showborder", 1

  .SetTitleProperty "ShowShadow", 1

  .SetTitleProperty "ExtraSpaceBelow", 1

  .SetTitleProperty "Align", 0

  .SetTitleProperty "FullWidthBackground", 1

  .SetTitleProperty "TargetColor", RGB(255,255,153) 'PALE GOLDENROD

  .SetTitleProperty "BackgroundColor", rgb(178,153,127)  'TAN

  .SetTitleProperty "FadeType", 4 'FADE TO RIGHT

end with

 

Font size and style are covered by SetFontSize and SetFontStyle

 

 

 

Related Topics

  1. SetFontSize
  2. SetFontStyle
  3. SetTitle1
  4. SetTitle2
  5. SetTitle3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

To effectively program with this interface, it's important to learn all about Milestones Professional.  Learn about Milestones.

Milestones Professional 2025 Automation Methods and Properties.  © Copyright 2000-2025, KIDASA Software, Inc. All rights reserved.