SetLegendText

Purpose: Set the text for existing legend entries on a schedule

Returns: none

Argument  

Type

Required

Purpose

1

Integer

Yes

Index of legend entry to be set (1-30)

2

String

Yes

Text for line one of this legend entry

3

String

No

Text for line two of this legend entry

 

Notes:

Example: Set the second legend entry's text:

With objMilestones

  .SetLegendText 2, "text for line 1","text for line 2"

End With

 

Related Topics

  1. SetLegendHeight
  2. SetLegendProperty
  3. SetLegendSymbology
  4. GetLegendProperty

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

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