While we appreciate comments from our users, please follow our posting guidelines. Have you tried the Cyotek Forums for support from Cyotek and the community?

Styling with Markdown is supported

Original Comment

Gravatar

sudhakar

# Reply

one more issue in this imagebox control , when i applied rotaion of image then imagebox control break the corner of image that means space is not available for rotaion, how it will be resolve?

Gravatar

Richard Moss

# Reply

Hello,

The ImageBox control wasn't really designed with that purpose in mind. Your best option is probably to enable VirtualMode, and set the VirtualSize property to be large enough to handle the image and any angle it is rotated at. This means you would have to draw the image yourself though using the VirtualPaint event, but all in all it shouldn't be too much trouble - certainly easier than the actual act of rotating the image.

Regards; Richard Moss