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 = color.black. 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 = color.black
_TextAnn.Border = False
_TextAnn.TextAlign = ContentAlignment.MiddleCenter
If _color.HasValue Then
_TextAnn.ForeColor = _color
Else
_TextAnn.ForeColor = Color.Black
End If
change color
Moderator: Alex
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: change color
Hello,
Best regards, Alexander
Text annotation contains text only and does not have lines - parameters of outline has no effect.How can i change the outline color of the textannotaion?
Best regards, Alexander