Name
page:SetTextRenderingMode -- set text rendering mode
Synopsis
status = page:SetTextRenderingMode(mode)
Function
page:SetTextRenderingMode() sets the text rendering mode.

The mode parameter must be one of the following constants:

 
#HPDF_FILL
#HPDF_STROKE
#HPDF_FILL_THEN_STROKE
#HPDF_INVISIBLE
#HPDF_FILL_CLIPPING
#HPDF_STROKE_CLIPPING
#HPDF_FILL_STROKE_CLIPPING
#HPDF_CLIPPING

The default text rendering mode is #HPDF_FILL.

Inputs
mode
the text rendering mode (see above for possible modes)
Results
status
status code

Show TOC