This sample shows how to specify the text rendering mode on a PDF canvas using Docotic.Pdf library.
The text rendering mode specifies whether drawing text causes glyph outlines to be stroked, filled, used as a clipping boundary, or some combination of the three. It is also possible to add invisible text to PDF.
Use the PdfCanvas.TextRenderingMode property to set the desired rendering mode for a canvas. See the PdfTextRenderingMode enumeration of the modes.