I am writing a small application that prints some stickers on a special printer.
When I use MS Word to print some text on this printer (and in an XPS file), the result looks excellent. When I print from C # code with a Graphics object, the text seems overly pixelated or smoothed.
I tried the following hints, but none gave the same result as MS Word:
System.Drawing.Drawing2D.SmoothingMode.AntiAlias
System.Drawing.Text.TextRenderingHint.AntiAliasGridFit
System.Drawing.Text.TextRenderingHint.AntiAlias
System.Drawing.Text.TextRenderingHint.ClearTypeGridFit
InterpolationMode.NearestNeighbor
CompositingQuality.HighQuality
And some others.
Can you advise what hints are used by MS Word, so I could create it programmatically?
source
share