I started with an issue where a dash ‘-’ was no longer being out in the location. It may have never worked, but I think it did.
I noticed there was an update, so I updated. Now, when my code attempts textElement.ToString(), like in the examples, I get an error:
System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=GemBox.Pdf
StackTrace:
at .()
at .()
at .(Boolean , Int32 , Int32 , , Boolean& )
at . ()
at ..(PdfFontFace )
at ..( , Boolean )
at .[TArg]( , Func3 , TArg ) at .( , Func
2 )
at .(PdfFontFace , & , & )
at …ctor(IEnumerable1 , PdfTextOptions , PdfMatrix , StringBuilder , IList
1 )
at GemBox.Pdf.Content.PdfTextContent.(StringBuilder )
at GemBox.Pdf.Content.PdfTextContent.ToString()
at _3up_to_1up.PdfClass.SetText(PdfPage newPage, PdfTextContent textElement, PdfQuad bounds, PdfPoint offset) in H:\repos\Prep\Common\3up_to_1up\PdfClass.cs:line 220
This previously worked for all but the dash ‘-’
Thanks,
James
P.S.