Some Issues When Using csXImage with C#
Below are listed some programming techniques that are necessary when using an ActiveX control in C#. They are relevant to the demo that is supplied with csXImage and further description
can be found in the readme text file that is supplied with the installer.
- C# cannot directly recognise indexed properties of ActiveX controls, such as the PixelColor property of csXImage. To use these properties,
the property name must be prefixed by get_ (to read the property) or by set_ (to write the property).
- The data type OLE_COLOR used by, for example, the PixelColor property, is equivalent to the data type System.Drawing.Color in C#.
Some downloadable C# examples:
© Chestysoft, 2026.