Jump to content
ignorante

Copiar imagem

Recommended Posts

ignorante

Olá a todos

Tenho uma Image1 com um gráfico e AutoRedraw=True.

Copio esse imagem para uma Picture3, também com AutoRedraw=True com

Picture3.PaintPicture Picture1.Image, 0, 0, Picture1.Width, Picture1.Height, Picture1.Left, Picture1.Top, Picture1.Width, Picture1.Height

Fica lá correctamente.

Depois, apago a imagem de Picture1 e tento copiá-la de Picture3 com

Picture1.PaintPicture Picture3.Image, 0, 0, Picture3.Width, Picture3.Height, Picture3.Left, Picture3.Top, Picture3.Width, Picture3.Height

Não copia.

As duas Picture são exactamente iguais, com as mesmas dimensões.

Por que não copia?

Onde está o erro?

Desde já obrigado pela ajuda que vier.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.