Jump to content

How to scale the image to pict ring size


MViControl

Recommended Posts

Posted

Hi all,

I try to add a pict ring in my program, and I will resize it by code. but when I change the size biger than the image in the box, I found the image can not scale with the size changing. Are there any way to scale the image with the size zoom out/in?

Thx

Posted

As far as I know, you can't set the picture ring to scale the images. That said, I haven't used one in a long time.

One thing you can do is implement the "ring" yourself by displaying an array of picture controls (or several pictures in a single control) and detecting which one was clicked using mouse down events. There are different ways of scaling images, and you can see one here.

Posted

As far as I know, you can't set the picture ring to scale the images. That said, I haven't used one in a long time.

One thing you can do is implement the "ring" yourself by displaying an array of picture controls (or several pictures in a single control) and detecting which one was clicked using mouse down events. There are different ways of scaling images, and you can see one here.

Thanks Yair,

I had ever thought I can use Pict Ring directly, now I try to made a xcontrol to impliment the function.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.