../pvss.htm menu.gif

  Graphics objects

The properties of graphics objects are accessed by functions (attributes).

In principle there are two methods of editing these attributes such as color or size.

  • You can use the functions setValue(), setMultiValue(), getValue() and getMultiValue(). You can also access shapes not only in the local panel but also in other modules or panels from the same UI manager.

  • The method with the "dot" operator has syntactic and didactic advantages and simplifies working with attributes. It is, however, unsuitable for reading more than one parameter.

The parameters of graphics attributes and their data types or the format in which they must be passed are explained and defined in the following sections.

The general attributes of objects (this means attributes that can be used for several object types) like color and line type string are described in the first chapters (Functions for all graphics objects (overview) and in the chapters under "Functions for all graphics objects (in detail). The object specific attributes are described further on.

Hierarchy of graphics objects

The Figure below illustrates the object hierarchy. This tree diagram shows what objects are derived from what objects higher up the tree and thus indicates where their attributes are inherited from.

"Bordered" contains all graphics objects having line type as an attribute. Thus "Bordered" attributes also apply to "Fillable" and hence to "Ellipse", "Arc", "Polygon", "Primitive Text", "Rectangle" as well as "Line".

 

Figure: Hierarchy of graphics objects

Control_Grafik-1.gif

 

Chapter

Content

Graphics objects

Hierarchy of the objects and links.

Functions for all graphics objects (overview)

Point notation, the attributes that are available for all graphics objects

Graphics objects in references

Addressing graphics objects in references.

Access shapes in other panels and modules

How to access not only the local panel but also other panels or modules from the same UI manager

Color string

Description of how a color string is set in WinCC OA

Line-type string

Structure and attributes for the line-type string

Fill-pattern string

Structure and attributes for the fill-pattern string

Font string

Structure and attributes for the font string

Format string

Structure and attributes for the format string

"cursor"

The attribute "cursor" specifies the cursor type.

"imageToClipboard"

Copies an image of a graphics object to the clipboard.

"imageToFile"

Saves an image of a graphics object (screenshot).

"panelFileName"

Returns the panel name of a reference in a panel.

"toolTipText"

Attribute for defining a tooltip.

"refName"

Returns the reference information for a shape meaning to what reference a shape belongs to.

"shapeType"

Returns a string specific to the type of shape.

ActiveX functions

Attributes of ActiveX .

Arc functions

Attributes of arc.

Bar trend functions

Attributes of the bar trend.

Button functions

Attributes of the button.

Calendar functions

Attributes of the calendar.

Cascade functions

Attributes of the cascade.

Check box functions

Attributes of the check box.

Clock functions

Attributes of clock.

Combo box functions

Attributes of the combo box.

DpTreeView functions

Attributes of the DpTreeView.

DpTypeView functions

Attributes of the DpTypeView.

Embedded module functions

Attributes of the embedded module.

Frame functions

Attributes of the frame.

LCD number functions

Attributes of the LCD number.

Pipe functions

Attributes of the pipe.

Primitive text functions

Attributes of the primitive text.

Polyline functions

Attributes of the polyline.

Progress bar functions

Attributes of the progress bar.

Radiobox functions

Attributes of the radiobox.

Rectangle functions

Attributes of the rectangle.

Scheduler ewo functions

Attributes of the scheduler.ewo.

Selection list functions

Attributes of the .

Slider functions

Attributes of the slider.

Spin button functions

Attributes of the spin button.

Tab functions

Attributes of the tab.

Table functions

Attributes of the table.

Text field functions

Attributes of the text field.

TextEdit functions

Attributes of the textEdit.

Thumb wheel functions

Attributes of the thumb wheel

Tree widget unctions

Attributes of the tree widget.

Trend functions

Attributes of the trend.

Zoom navigator functions

Attributes of the  zoom navigator.

 

 

 

Top Of Page

 

V 3.11 SP1

Copyright ETM professional control GmbH 2013 All Rights Reserved