Page 1 of 1

change color

Posted: Wed Dec 30, 2009 7:17 pm
by t.abbach
i have a question for you.

How can i change the outline color of the textannotaion.
I have tried to change the color with outline.color = but it doesn't work.

but when a draw a textannotation and then select the textannotation and then change the outline color then it works ?

i have a example for you.

If currentIndex2 = 0 Then
Dim _TextAnn As New TextAnnotation
_TextAnn.BackColor = Color.Transparent
_TextAnn.outline.color =
_TextAnn.Border = False
_TextAnn.TextAlign = ContentAlignment.MiddleCenter
If _color.HasValue Then
_TextAnn.ForeColor = _color
_TextAnn.ForeColor = Color.Black
End If

Re: change color

Posted: Thu Jan 14, 2010 9:24 am
by Alex
How can i change the outline color of the textannotaion?
Text annotation contains text only and does not have lines - parameters of outline has no effect.

Best regards, Alexander