Window objects
- Last UpdatedJul 26, 2024
- 1 minute read
Window objects are placed in an object list defined by the ObjectList element.
Example:
<?xml version="1.0" encoding="UTF-8"?>
<iw:InTouchWindow xmlns:iw="http://www.wonderware.com/InTouch/Window" xmlns:itc="http://www.wonderware.com/InTouch/Common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wonderware.com/InTouch/Window.xsd" Version="1">
<Title>Window0001</Title>
<Comment>Sample simple window</Comment>
<Dimension>
<Left>10</Left>
<Top>10</Top>
<Width>400</Width>
<Height>400</Height>
</Dimension>
<BackgroundColor>
<R>255</R>
<G>0</G>
<B>255</B>
</BackgroundColor>
<WindowStyle>Replace</WindowStyle>
<FrameStyle>Double</FrameStyle>
<TitleBar>true</TitleBar>
<SizeControls>true</SizeControls>
<ObjectList>
<Rectangle>
<Title>Rectangle1</Title>
<Pen>
<PenColor>
<Name>Black</Name>
</PenColor>
<PenWidth>4</PenWidth>
<PenStyle>Solid</PenStyle>
</Pen>
<Dimension>
<Left>100</Left> <Top>50</Top>
<Width>270</Width> <Height>80</Height>
</Dimension>
<FillColor>
<R>128</R> <G>128</G> <B>128</B>
</FillColor>
</Rectangle>
</ObjectList>
</iw:InTouchWindow>
Each window object can contain animation links. A window object containing animation links includes an animation links element.
<AnimationLinks> </AnimationLinks>
Related Links
- Default element values
- Pen style limitations
- Pen dimensions
- Rectangle object
- Rounded rectangle object
- Ellipse object
- Line object
- Horizontal line object
- Vertical line object
- Polyline object
- Polygon object
- Text object
- Bitmap object
- Transparent colors
- Bitmap object elements
- Button object
- SmartSymbols
- Tag replacement
- String replacement
- SmartSymbol example
- Industrial Graphics
- CustomPropertyOverride
- Industrial Graphic string replacement type