Octagon shape

Stimulsoft Reports.NET discussion
socotek
Posts: 56
Joined: Thu Jun 26, 2014 9:40 am

Octagon shape

Post by socotek »

Hello,
is there a octagon shape in Stimulsoft report .Net?

We need something like shown in image attached.

Thenk you very much,
Luca
Attachments
Octagon.PNG
Octagon.PNG (3.93 KiB) Viewed 5371 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Octagon shape

Post by HighAley »

Hello, Luca.

Unfortunately, there is no such shape in our product.
If you need any additional shape we can discuss it with our team leader if you send a request with a list of necessary shapes to support@stimulsoft.com.

Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Octagon shape

Post by HighAley »

Hello.

We have added a new octagon shape.
Please, check our next prerelease build, which will be available in our next prerelease build on Friday.

Thank you.
socotek
Posts: 56
Joined: Thu Jun 26, 2014 9:40 am

Re: Octagon shape

Post by socotek »

I downloaded the prerelease build with octagon shape, and it works well.

Thank you very much for your job,
Luca
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Re: Octagon shape

Post by Jan »

Glad to help!
socotek
Posts: 56
Joined: Thu Jun 26, 2014 9:40 am

Re: Octagon shape

Post by socotek »

I need to color the shape (see example) using the colors defined in the data source.

I tried putting the code:

TryCast(sender, StiShape).Brush = New StiSolidBrush(ColorTranslator.FromWin32(DataSource1.Colore))
or also
TryCast(sender, StiShape).Brush = New StiSolidBrush(ColorTranslator.FromWin32(DataSource1.Rows(Line).Colore))

in the BeforePrint event of the shape but it doesn't work.

How can I do?

Many thanks
Luca
Attachments
Report.mrt
(8.65 KiB) Downloaded 278 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Octagon shape

Post by Alex K. »

Hello,

We couldn't reproduce this bug.
Please send us a simple report with test data which reproduces the issue for analysis.

Thank you.
socotek
Posts: 56
Joined: Thu Jun 26, 2014 9:40 am

Re: Octagon shape

Post by socotek »

Hi,
in attachment the sample.

Many thanks
Attachments
Report.mrt
(8.88 KiB) Downloaded 435 times
db.txt
(734 Bytes) Downloaded 277 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Octagon shape

Post by Alex K. »

Hello,

We couldn't reproduce this bug.
Please try to check the last prerelease build.

Also, please try to set the ScriptLanguage property for the report as VB.

Thank you.
Attachments
Capture.PNG
Capture.PNG (7.85 KiB) Viewed 5063 times
socotek
Posts: 56
Joined: Thu Jun 26, 2014 9:40 am

Re: Octagon shape

Post by socotek »

Hi,
setting the ScriptLanguage to VB now works.

Many thanks
Post Reply