Reply to comment
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?
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?
sudhakar
#
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?
Richard Moss
#
Hello,
The
ImageBox
control wasn't really designed with that purpose in mind. Your best option is probably to enableVirtualMode
, and set theVirtualSize
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 theVirtualPaint
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