<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>18 Dec 2014 20:44:53 Z</lastBuildDate><pubDate>18 Dec 2014 20:44:53 Z</pubDate><description>So this is my first time messing with .Net classes in WinDev.&#13;
&#13;
I'm working on implementing the Zxing barcode reading .Net assemblies into an application and I'm not sure what the proper syntax for this would be.&#13;
&#13;
I have a class that in their C# example is initialized like this.&#13;
&#13;
      public WindowsFormsDemoForm()&#13;
      {&#13;
         InitializeComponent();&#13;
         barcodeReader = new BarcodeReader&#13;
            {&#13;
               AutoRotate = true,&#13;
               TryInverted = true,&#13;
               Options = new DecodingOptions {TryHarder = true}&#13;
            };&#13;
     }&#13;
&#13;
I'm not sure to properly the syntax for creating the Barcode.Options variable from the DecodingOptions class is.&#13;
My WL code is as follows&#13;
[code:wl]&#13;
clBCReader is BarcodeReader&#13;
clBCReader.AutoRotate = True&#13;
clBCReader.TryInverted = True&#13;
[/code]&#13;
&#13;
WinDev doesn't like trying to declare it as:&#13;
[code:wl]&#13;
clBCReader.Options is DecodingOptions&#13;
[/code]&#13;
&#13;
Any insight would be greatly appreciated.</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/49543-windev18-net-class-that-uses-another-class-variable/read.awp</link><title>WinDev18 .net class that uses another class as a variable syntax.</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
