change color

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

Moderator: Alex

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

change color

Post by t.abbach » Wed Dec 30, 2009 7:17 pm

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

Site Admin
Posts: 1658
Joined: Thu Jul 10, 2008 2:21 pm

Re: change color

Post by Alex » Thu Jan 14, 2010 9:24 am

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