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.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  

DynaPDF.Rectangle

This function draws a rectangle.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 3.1 Yes Yes Yes Yes Yes
MBS( "DynaPDF.Rectangle"; PDF; PosX; PosY; Width; Height; FillMode )   More

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
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

Example Databases

Blog Entries

Created 18th August 2014, last changed 18th August 2014


DynaPDF.ReadImageResolution   -   DynaPDF.Release

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins