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

Jonathan

# Reply

I'm trying to import an image into the imagebox and then draw a rectangle, but the virtual property mode in true takes it out to the image some solution so I can draw on the image?

Gravatar

Richard Moss

# Reply

Hello,

You don't need to use the virtual mode for this - just hook into the Paint event and draw your shapes in that. See the Scaled Adornments demonstration for an example.

Regards; Richard Moss