Page 1 of 1

Hide BarCode component

Posted: Wed Jan 23, 2013 2:53 pm
by DavideBak
Hello, I've a question about BarCode component.

There is a way to set the visibility of a BarCode component?

I've to create a report with a table and under it an optional BarCode component. I would like to set the BarCode visibility using a variable. Is it possible?

Thanks in advance,
Davide

Re: Hide BarCode component

Posted: Wed Jan 23, 2013 3:08 pm
by DavideBak
I used this code in Designer code and it works :
this.BarCode1.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(0.0, 0.0, 0.0, 0.0);
but I think it' not really correct =) Does anyone have better solution?

Thank you.

Re: Hide BarCode component

Posted: Thu Jan 24, 2013 1:21 pm
by HighAley
Hello.

You should use a Condition of the BarCode or an Enabled property.

Thank you.