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.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  

DynaPDF.CircleAnnot

Draws a circle annotation on the current open page.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 5.0 Yes Yes Yes Yes Yes

MBS( "DynaPDF.CircleAnnot"; PDF; PosX; PosY; Width; Height; LineWidth; FillColor; StrokeColor; ColorSpace )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
PosX X-coordinate of the annotation 100
PosY Y-coordinate of the annotation 100
Width Width of the annotation 100
Height Height of the annotation 100
LineWidth Line width of the circle or ellipse 2
FillColor Fill color for circle. 200
StrokeColor Stroke color for circle. 255
ColorSpace Color space of the fill and stroke colors. "RGB"

Result

Returns annotation handle or error.

Description

Draws a circle annotation on the current open page.
If the parameters Width and Height are equal the function draws a circle, an ellipse otherwise. If the annotation should be drawn without a border, set the parameter LineWidth zo zero or StrokeColor to the special constant NO_COLOR (4294967281).
If the interior should be transparent set FillColor to the special constant NO_COLOR (4294967281).
Although the line width can be set to any positive floating point value, Adobe’s Acrobat or Reader restrict the line width to 0 through 12 units. The line width should be restricted in the same way to avoid issues in Adobe viewer products.

See also CircleAnnot function in DynaPDF manual.

See also


DynaPDF.CheckConformance   -   DynaPDF.Clear

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins