Page History: Built-in data types
Compare Page Revisions
Page Revision: 2012/01/31 23:03
|
Custom data types
|
Info |
Category: |
Programming |
Role: |
|
EventIDE provides several built-in data types that are used for element properties. The built-in types are also available for coding in the snippets and developing the custom AddIns. The built-in types are not classes but plain
http://msdn.microsoft.com/en-us/library/34yytbws%28v=vs.71%29.aspx - it means they don't need a class constructor and disposing. Below, all built-in EventIDE types are listed with descriptions and code examples.
stColor
stColor is a data type for operating colors in EventIDE. stColor is a
http://msdn.microsoft.com/en-us/library/ah19swz4%28v=VS.71%29.aspx which value stores a single 32-bits ARGB value (A- denotes
the alpha channel). stColor has the following fields:
// Declaration and initialization
// declares a new Color and set it's value to green
stColor MyColor;
MyColor.A=255;
MyColor.R=255;
MyColor.G=255;
MyColor.B=255;
// declares the green color with a help of stColor constuctor
stColor MyColor=new stColor(0,255,0);
// Using
== stPosition ==
csharp // Check the trial outcome. Result and RT just other user variables
// insert code snippet here..
== stAlignment ==
csharp // Check the trial outcome. Result and RT just other user variables
// insert code snippet here..
@@
Final Notes
Insert Notes here..