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.

TextAnnotation tool



TextAnnotation tool

Post by rgoodson »

Hello,

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?

Thanks,
Reagan


Re: TextAnnotation tool

Post by Alex »

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:
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


Page 1 from 1: 1