|
|
|
|
- Coordinates of the window
- Limits
- Printing a chart
- Image file
grWndSize (Function) In french: grFenTaille Defines the size of the window containing the chart.
// Define the size of the window containing "MyChart" grWndSize("MyChart", 10, 10, 100, 150)
Syntax
grWndSize(<Chart name> , <X1> , <Y1> , <X2> , <Y2>)
<Chart name>: Character string Name of chart to use, defined by grCreate. <X1>: Real X coordinate (in pixels) of the top left corner of the window. <Y1>: Real Y coordinate (in pixels) of the top left corner of the window. <X2>: Real X coordinate (in pixels) of the bottom right corner of the window. <Y2>: Real Y-coordinate (in pixels) of the bottom right corner of the window. Remarks Coordinates of the window The coordinates of the window are expressed in pixels from the top left corner of the screen. Limits - This function cannot be used with the Chart controls.
- This function cannot be used in the report editor.
Printing a chart grWndSize can also be used to define the size of the chart for the print. To avoid previewing the chart before it is printed: - define its dimensions with grWndSize,
- call grPrint.
The size of the printed chart will be the size of the chart in the window. Image file If the destination of the chart corresponds to a BMP, EMF or WMF file, grWndSize initializes the dimensions of the chart image to save it.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|