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.Rectangle
This function draws a rectangle.
| 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. | ||
| PosX | X-Coordinate of rectangle | $x |
| PosY | Y-Coordinate of rectangle | $y |
| Width | Width of the rectangle | $w |
| Height | Height of the rectangle | $h |
| FillMode | Fill mode. Can be FillNoClose, StrokeNoClose, FillStrokeNoClose, Fill, Stroke, FillStroke, FillEvOdd, FillStrokeEvOdd, FillEvOddNoClose, FillStrokeEvOddNoClose, NoFill or Close. | "fill" |
Result
Returns OK or error message.
Description
This function draws a rectangle.See also Rectangle function in DynaPDF manual.
Examples
Fills a rectangle:
MBS( "DynaPDF.Rectangle"; $PDF; 100; 200; 200; 200; "fill" )
Draws a rectangle:
MBS( "DynaPDF.Rectangle"; $PDF; 100; 200; 200; 200; "stroke" )
See also
- DynaPDF.AddDeviceNSeparations
- DynaPDF.CreateSeparationCS
- DynaPDF.InsertImage
- DynaPDF.New
- DynaPDF.ReadImageFormat
- DynaPDF.RotateCoords
- DynaPDF.SetExtColorSpace
- DynaPDF.SkewCoords
- DynaPDF.TranslateCoords
- DynaPDF.Triangle
Example Databases
- Barcode/DynaPDF Barcode
- DynaPDF/Create DeviceN ColorSpace
- DynaPDF/Create PDF with Bezier Curves
- DynaPDF/Create Text as PDFA
- DynaPDF/DynaPDF Coordinates
- DynaPDF/Picture to PDF
- DynaPDF/Place Picture
- DynaPDF/Shrink PDF pages
- DynaPDF/Signature Appearance
- DynaPDF/Swiss QRCode
Blog Entries
Created 18th August 2014, last changed 18th August 2014
DynaPDF.ReadImageResolution - DynaPDF.Release
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins