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
TextAnnotation tool
Moderator: Alex
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: TextAnnotation tool
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:
Best regards, Alexander
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)