VintaSoft Annotation .NET Plug-in Discussions

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

Board index < VintaSoft Imaging < VintaSoft Annotation .NET Plug-in Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

change color



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


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


Page 1 from 1: 1