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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
DynaPDF.StrokePath
The function strokes the current path without closing it.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 3.1 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. |
Result
Returns OK or error.
Description
The function strokes the current path without closing it.If no open path can be detected the function returns with a warning.
See also StrokePath function in DynaPDF manual.
Examples
Draw two lines in black:
Set Variable [$r; Value:MBS ( "DynaPDF.SetStrokeColor" ; $pdf ; 0; 0; 0 )]
Set Variable [$r; Value:MBS ( "DynaPDF.SetLineWidth" ; $pdf ; 1 )]
Set Variable [$r; Value:MBS ( "DynaPDF.MoveTo" ; $pdf ; 20; 20)]
Set Variable [$r; Value:MBS ( "DynaPDF.LineTo" ; $pdf ; 20; 40)]
Set Variable [$r; Value:MBS ( "DynaPDF.MoveTo" ; $pdf ; 30; 30)]
Set Variable [$r; Value:MBS ( "DynaPDF.LineTo" ; $pdf ; 30; 50)]
Set Variable [$r; Value:MBS ( "DynaPDF.StrokePath" ; $pdf)]
See also
- DynaPDF.ClosePath
- DynaPDF.LineTo
- DynaPDF.MoveTo
- DynaPDF.New
- DynaPDF.SetLineWidth
- DynaPDF.SetStrokeColor
Example Databases
Blog Entries
Created 18th August 2014, last changed 1st January 2017
DynaPDF.StampAnnot - DynaPDF.SysFontInfo
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins