Breadcrumbs

Rect

Draws a rectangle. The rectangle can optionally be provided with a frame and a background.

Syntax

  Func_FbMnFPDF_Rect.bmp

C++
METHOD PUBLIC Rect : BOOL
VAR_INPUT
    x1 : REAL;
    y1 : REAL;
    w1 : REAL;
    h1 : REAL;
    style : STRING := '';
END_VAR

Parameters

Parameter

Description

x1 

Horizontal position (X-axis) of the left/upper corner of the rectangle to be drawn. 

y1 

Vertical position (Y-axis) of the left/upper corner of the rectangle to be drawn. 

w1 

Width of the rectangle to be drawn. 

h1 

Height of the rectangle to be drawn. 

style 

Style in which the rectangle is to be drawn. Possible values are::

  • No specification or D: Draw frame only

  • F: Draw filled without frame

  • FD: Fill in and draw with frame

Return value

Status of the call. 


Example



Requirements



Remarks