OpenDrawing

Modified in version 4.0

OpenDrawing ( width ;​ height ;​ resolution )

Argument Type Range Default Note
width num 1..10000 (required) Dimension:[pt]
height num 1..10000 (required) Dimension:[pt]
resolution num -1..4 screen
Examples

OpenDrawing(300;​200)

OpenDrawing(800;​600;​print)

OpenDrawing(400;​300;​2.5)

Description

The most important layout function is OpenDrawing(). This function defines the width and height of a drawing in pixels and should always be listed as the first function call.

OPEN_DRAWING_01
1

OpenDrawing(250;​150)

2

ChartData(7 5 4 2 1)

3

BarChart()

4

/* Set up styles. */

5

FillStyle(1;​#4682b4)

6

BorderStyle(all;​none)

7

/* Set up axes. */

8

AxisLine(all;​0)

9

AxisMajorTicks(all;​0)

10

/* Set up grid and background. */

11

MajorGridLineWidths(y;​x;​0)

12

MajorGridLineWidths(x;​y;​0.25)

13

CloseDrawing()

OPEN_DRAWING_01

The image resolution can be controlled with the 3rd argument resolution. For details, see Export to FileMaker.

Scroll to Top
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×