Jump to content
Software FX Community

Annotation Question


User (Legacy)
 Share

Recommended Posts

Hi,

I have a question regarding annotation.

I'm using the following code and it's placing my text annotation at the

bottom (which is where I want it) but upside down. Any suggestions on how to

flip it 180 degrees?

For i = 0 To (Chart.NValues - 1)

Set ObjText = AnnotX.Add(6)

strFromValue = Chart.IniValueEx(0, i)

strToValue = Chart.ValueEx(0, i)

varAttachString = CStr(i + .9) & " , " & CStr(strFromValue) & " , " &

CStr(i + 1.3) & " , " & CStr(strToValue)

ObjText.Attach 2, varAttachString

ObjText.Text = "Blah"

ObjText.BkColor = CHART_TRANSPARENT

ObjText.Orientation = 2

Next

Thanks,

Shane

Link to comment
Share on other sites

ah ok. Thanks again for your help.

Shane

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:VVvaY6aNDHA.2788@webserver1.softwarefx.com...

> It is upside-down because you are assigning the orientation to be

> TO_RIGHT2LEFT (2).

>

> Simply don't assign the Orientation to anything, the default is a regular

> text (left to right).

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...