Hello,
Thank you for the tip...
But unfortunately I still got an error - but now it is a new one...
I have make my code in this way for the first time I am using PDFSharp...:
Code:
GlobalFontSettings.UseWindowsFontsUnderWindows = true;
PdfDocument document = new PdfDocument();
I have only set this variable once in my pogram - but when I am running this first place, I am getting this error:
"Must not change UseWindowsFontsUnderWindows after it was once set or got."
And my stacktrace is as the following:
StackTraceLineNumber: 215
ColumnNumber: 25
MethodName: set_UseWindowsFontsUnderWindows
FileName: D:\THHO\Repos\PDFsharp\src\foundation\src\PDFsharp\src\PdfSharp\Fonts\GlobalFontSettings.cs
NativeOffset: 157
ILOffset: 77
Any advice to avoid this error?
Best regards.