Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

cwShapeMinMaxRegion .Net Equivalent

Solved!
Go to solution

Is there an equivalence of the shape type in vb6 named cwShapeMinMaxRegion ?

0 Kudos
Message 1 of 5
(3,123 Views)

Are you using WPF or Windows Forms in your .NET application?

 

What kind of appearance/behavior are you looking to achieve? It would be very helpful if you could provide a screenshot of the VB6 effect you are looking for.

~ Paul H
0 Kudos
Message 2 of 5
(3,111 Views)

Actually, I think the vb6 property that makes the trick is the cwRegionInverted. This is what I am trying to achieve

image.png

I am using XYRangeAnnotation setting up values for YRange (-5,5) and XRange(Negativeinfinity, PositiveInfinity) but I cant invert the annotation like vb6 property did. 

I am using Winforms

image.png

I dont know if the only way to achieve that it is using two annotations one from the top and one for the bottom

0 Kudos
Message 3 of 5
(3,105 Views)
Solution
Accepted by topic author mobdev

I do not believe the XYRangeAnnotation class offers an equivalent of cwRegionInverted. To achieve the same effect, you would need to use two range annotations: one from -Infinity to -5, and one from 5 to +Infinity.

~ Paul H
0 Kudos
Message 4 of 5
(3,090 Views)

Yes, that the best solution we can find

Thanks

0 Kudos
Message 5 of 5
(3,087 Views)