Search found 2 matches

by jannera
Tue Dec 29, 2020 1:34 pm
Forum: Annotations
Topic: Use custom font with AnnotationManager
Replies: 1
Views: 6385

Use custom font with AnnotationManager

Hi I'm using WPF GdViewer and I'm wondering if it's possible to use custom font when adding new TextAnnotation. I would like to use FontAwesome or another custom font to display simple images within text. TextAnnotation seems to only have FontName property instead of FontFamily. I wonder if I can re...
by jannera
Thu Jul 18, 2019 3:00 pm
Forum: Annotations
Topic: AddCustomAnnot: OnCustomAnnotationPaint event not occurring
Replies: 1
Views: 10392

AddCustomAnnot: OnCustomAnnotationPaint event not occurring

Hi I'm trying to add a custom annotation on a PDF in a WPF application but OnCustomAnnotationPaint event never occurs so nothing gets drawn. I modified the sample application "Csharp-Annotations.WPF" to show this problem: private void OpenFileCommand_Executed(object sender, ExecutedRoutedE...