change color

Questions, comments and suggestions concerning VintaSoft Annotation .NET Plug-in.

Moderator: Alex

Post Reply
t.abbach
Posts: 6
Joined: Mon Dec 21, 2009 1:43 pm

change color

Post 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 = 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
Alex
Site Admin
Posts: 2307
Joined: Thu Jul 10, 2008 2:21 pm

Re: change color

Post by Alex »

Hello,
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
Post Reply