midora Posted January 13, 2013 Share Posted January 13, 2013 One issue which disturbs me using the PanAndSlider property is that if you are panning then it is not possible to drag back to the 0/0 center. You are getting values like 0.02 or -0.01 always. Second: I'm using the following code to setup the background of PanAndSlider: Bitmap bitmap = new Bitmap(100, 100); // Creates a transparent bitmap configUI.SetPropertyControlValue(PropertyNames.RotateXYDeg, ControlInfoPropertyNames.StaticImageUnderlay, ImageResource.FromImage(bitmap)); This shows a nice checkerboard background which makes more sense for the plugin than the standard: Bitmap bitmap = this.EnvironmentParameters.SourceSurface.CreateAliasedBitmap(); Is there a better way than to use these constant values 100,100? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.