Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Sets text draw mode.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 6.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
Mode | The new text draw mode. | "Invisible" |
Returns OK or error.
Draw Mode | Description |
Normal | Default, render the text in the usual way. The fill color is used as the text's color. |
Stroke | Tread the glyph outlines as path to be stroked. The current line width and stroke color are used to paint the path. |
FillStroke | Tread the glyph outlines as path to be stroked and filled. The current line width, fill color, and stroke color are used to paint the path. |
Invisible | Neither fill nor stroke the text, the text is invisible. |
FillClip | Tread the glyph outlines as path to be filled and add this path to the current clipping path. The settings of the current line width and fill color are used to paint the path. |
StrokeClip | Tread the glyph outlines as path to be stroked and add this path to the current clipping path. The settings of the current line width and stroke color are used to paint the path. |
FillStrokeClip | Tread the glyph outlines as path to be stroked and filled and add this path to the current clipping path. The settings of the current line width, fill color and stroke color are used to paint the path. |
Clipping | Tread the glyph outlines as path and add this path to the current clipping path. |
See also SetTextDrawMode function in DynaPDF manual.
Set stroke draw text mode:
MBS( "DynaPDF.SetTextDrawMode"; $pdf; "Stroke" )
Created 22nd January 2016, last changed 22nd January 2016
DynaPDF.SetStrokeColorValue - DynaPDF.SetTextFieldValue
Feedback: Report problem or ask question.