If I put the property directly in the Picture Object this work good but….
I’m trying to…
Dim p as New Wisej.Web.Rotation.Properties
p.RotateZ = 45
But this is not working… the object ‘myPictureBox ‘ is an object present in my form.
and i get this error:
An exception of type ‘System.NullReferenceException’ occurred in Wisej.Web.dll but was not handled in user code
Additional information: Object reference not set to an instance of an object.
If the rotation extender has not initialized the call to SetRotation(c, p) will cause this exception. Will log a bug fix.
The extender was designed to work with the designer and SetRotation() is rarely used.
You can do this:
extender.GetRotation(c).RotateX = 50;
var rotation = extender.GetRotation(c); rotation.RotateX = 50;
Please login first to submit.