Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


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 )


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"


Returns OK or error message.


This function draws a rectangle.

See also Rectangle function in DynaPDF manual.


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

DynaPDF.ReadImageResolution   -   DynaPDF.Release

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins