TextAnnotation tool

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

Moderator: Alex

Post Reply
Posts: 6
Joined: Wed Feb 10, 2010 1:34 am

TextAnnotation tool

Post by rgoodson » Thu Feb 11, 2010 9:02 am


Sorry for all of the questions. I just want to make sure this is going to work for me.

I am attempting to use the TextAnnotation to add a note tool to the images in my application. For some reason, the font appears very small within the annotation. In fact, the only way that the text is readable at all is by setting the font at the very maximum amount of 72, which is still not very large. What can I do to get the font larger within the TextAnnotation tool?


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

Re: TextAnnotation tool

Post by Alex » Thu Feb 11, 2010 5:31 pm

Hello Reagan,

You can specify the font of the TextAnnotation with the Font property.

Here is an example that demonstrates how to increase font size of existing annotation:

Code: Select all

Dim currentFont As Font = textAnnotation.Font
Dim newFontSize As Float = currentFont.Size + 5
If newFontSize > 200 Then
  newFontSize = 200
End If
textAnnotation.Font = New Font(currentFont.FontFamily, newFontSize)
Best regards, Alexander

Post Reply