Measurement Studio for .NET Languages

取消
显示结果 
搜索替代 
您的意思是: 

cwShapeMinMaxRegion .Net Equivalent

已解决!
转到解答

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

0 项奖励
1 条消息(共 5 条)
3,247 次查看

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 项奖励
2 条消息(共 5 条)
3,235 次查看

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 项奖励
3 条消息(共 5 条)
3,229 次查看
解答
接受人 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 项奖励
4 条消息(共 5 条)
3,214 次查看

Yes, that the best solution we can find

Thanks

0 项奖励
5 条消息(共 5 条)
3,211 次查看