Method SetTextRenderingMode
- Namespace
- SoftZenPdf
- Assembly
- SoftZenPdf.dll
SetTextRenderingMode(TextRenderingMode)
Sets how glyphs are painted (operator Tr): filled (the default), outlined, both, or invisible, which keeps
text searchable and copyable without showing it (as in a text layer over a scanned image). Stroking uses the
stroke colour and line width. Like the font, it is part of the graphics state.
public ContentStreamWriter SetTextRenderingMode(TextRenderingMode mode)
Parameters
modeTextRenderingModeThe rendering mode.