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.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    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 )

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


DynaPDF.ReadImageResolution   -   DynaPDF.Release

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos