Announcement

Collapse
No announcement yet.

DrawTextRel (_cx,_cy) (Controls Size? ..)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DrawTextRel (_cx,_cy) (Controls Size? ..)

    In the help file it says that cx and cy controls height/width.

    The cx and cy parameters control the width (cx) and height (cy) of the text label.
    <snip>
    You can pass positive or negative numbers to these parameters. If you use positive whole number then the size is based on that number of pixels:
    <snip>
    If you use negative whole numbers then the size is relative to the specified font size:
    However, when I use these parameters all it does is shift my text label up or down. There doesn't seem to be any relation whatsoever to size.

    Can anyone clarify this for me?

  • #2
    Re: DrawTextRel (_cx,_cy) (Controls Size? ..)

    madmike117
    Apply a background color to the label that is different from the chart background color and you will see the effect of the cx and cy parameters
    Alex


    Originally posted by madmike117
    In the help file it says that cx and cy controls height/width.



    However, when I use these parameters all it does is shift my text label up or down. There doesn't seem to be any relation whatsoever to size.

    Can anyone clarify this for me?

    Comment

    Working...
    X