With these functions, you can draw objects and manipulate the properties of objects.
Note: Freehand line drawing is not supported, as the same output can be achieved using the DrawPolygon function.
Only General and 3D properties are supported. Movement, Scaling, Fill, and so on are not accessible.
The settings are applied to or read from the selected object. Typically, the last placed object is the selected object. By using the PageSelectFirstObject()
and PageSelectNextObject()
functions, you can access your objects and change or read their properties.
Applies a 3D effect to an object, or retrieves the current 3D effect setting. |
|
Applies a level of depth to a 3D effect, or retrieves the current depth setting. |
|
Retrieves the animation number (AN) of the active object. |
|
Returns the base coordinates of an object. |
|
Retrieves the class of the active object as a string. |
|
Sets or retrieves the corner radius value for the current object. |
|
Applies a style to an ellipse, or retrieves the current ellipse style setting. |
|
Sets the end angle of an arc or pie-slice, or retrieves the end angle. |
|
Retrieves the X coordinate that represents the extent of the active object. |
|
Retrieves the Y coordinate that represents the extent of the active object. |
|
Sets the fill color for an object, or retrieves a value representing the current fill color. |
|
Sets the fill color for an object, or retrieves a value representing the current fill color. |
|
Sets the fill color for an object, or retrieves a value representing the current fill color. |
|
Sets or retrieves the direction of the gradient for the current object. |
|
Sets or retrieves the "Off" portion of the gradient colour for the current object. |
|
Sets or retrieves the "On" portion of the gradient colour for the current object. |
|
Sets the highlight color applied to the 3D effects raised, lowered or embossed, or retrieves the current highlight color setting. |
|
Applies a color to a line, or retrieves the current color setting. This function has been replaced by the functions AttributeLineOnColourEx and AttributeLineOffColourEx. |
|
This function supports True Color functionality and replaces AttributeLineColour. |
|
This function supports True Color functionality and replaces AttributeLineColour. |
|
Applies a style to a line, or retrieves the current style setting. |
|
Sets the width of a line, or retrieves its current width. |
|
Sets the lowlight color applied to the 3D effects raised, lowered or embossed, or retrieves the current lowlight color setting. As this function does not support True Colour functionality, it has been superseded by the functions AttributeLoLightOffColourEx and AttributeLoLightOnColourEx. |
|
Sets the lowlight "off" color applied to the 3D effects raised, lowered or embossed, or retrieves the current lowlight color setting. |
|
Sets the lowlight "on" color applied to the 3D effects raised, lowered or embossed, or retrieves the current lowlight color setting. |
|
Returns the coordinates of the first node of a free hand line, polygon or pipe. |
|
Returns the coordinates of any following nodesA structural anchor point for a graphic object, usually visible as a small square box superimposed over a graphic. Nodes will be located separately at the start, at the end, and at every change in direction within a graphic object. of a free hand line, polygon or pipe when implemented after AttributeNodeCoordinatesFirst. |
|
Defines whether a polygon (polyline) is set to open mode (i.e. its two end points are not joined) or closed (its two ends are joined). |
|
Sets the rectangle style, or retrieves the rectangle style setting. |
|
Displays the object as filled, or retrieves the current fill value. |
|
Sets the shadow color when a shadowed 3D effect is used, or retrieves the current shadow color setting. As this function does not support True Color functionality, it has been superseded by the functions AttributeShadowOffColourEx and AttributeShadownOnColourEx. |
|
Sets the "off" shadow color when a shadowed 3D effect is used, or retrieves the current shadow color setting. |
|
Sets the "on" shadow color when a shadowed 3D effect is used, or retrieves the current shadow color setting. |
|
Sets the start angle of an arc or pie-slice, or retrieves the start angle. |
|
Reads the elements of the transformation matrix. |
|
Sets the elements of the transformation matrix. |
|
Retrieves the X coordinate of the active object. |
|
Retrieves the Y coordinate of the active object. |
|
Draws a button on the active page. |
|
Places a Cicode object on the page at the specified location. |
|
Draws an ellipse on the active page. |
|
Draws a line on the active page. |
|
Places a number object on the page at the specified location. |
|
Terminates the drawing of a pipe on the active page. |
|
Draws a section of pipe on the active page. |
|
Initiates the process of drawing a pipe on the active page by defining a starting point that DrawPipeSection() can be applied to. |
|
Terminates the drawing of a polygon on the active page. |
|
Draws a line on the active page that forms part of a polygon. |
|
Initiates the process of drawing a polygon on the active page by defining a starting point that DrawPolygonLine() can be applied to. |
|
Draws a rectangle on the active page. |
|
Places a Symbol Set object on the page at the specified location. |
|
Draws an alphanumeric string at the specified location. |
|
Draws a trend object on the active page. |
For details and a VB example on handling return and error values, see Error Handling.
See Also
Published June 2018