Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic 3D-Effect (Read 1015 times)
balajigcs
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 32
Joined: Aug 18th, 2008
3D-Effect
Aug 18th, 2008 at 5:24am
Print Post  
Hi,

I have one doubt in 3D-effect to the shape node.
actually I am using the Draw() for that shape node.. for setting the text to the node and so on..
but the 3D-effect not effecting to that control.. without using that draw method its effecting the 3D-effect. in draw method have rendaroption,that have enableshadow effect is true.. the shadow effect is working.. but enable3D effect is not there.. can u help how to set the 3D effect to the node with draw method
  

Thanks & Regards,&&&&Balaji
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: 3D-Effect
Reply #1 - Aug 18th, 2008 at 9:43am
Print Post  
Hi,

You should add the node to a Diagram objects and enable Diagram.EnableEmbossEffects. That generates an emboss-effect bitmap, which is used the next time you call ShapeNode.Draw(IGraphics).

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint