setTextLayerMode Function

fun setTextLayerMode(mode: ImageWriterPdf.TextLayerMode)

Chooses the invisible-text font strategy before the first page is written.

The default is TextLayerMode.GLYPHLESS. Visible text and enabled text diagnostics always use real fonts, independently of this setting. This does not change the footer.

Throws

Top