Image painting

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Moderator: Alex

Post Reply
missionRoom
Posts: 13
Joined: Wed Jan 22, 2020 4:38 pm

Image painting

Post by missionRoom »

My project involves showing and hiding the annotation viewer, and changing the focussed image when the viewer isn't visible. If I change the focused index and then show the viewer, the old image displays for a second before the new one is painted.

Is there a way to only draw the new image? I'm using the below method to change the image, and then hide one control and show the viewer.

Code: Select all

private void ReloadImage(int index, ImageCollection images)
{
    this.annotationViewer.Images = images;
    this.annotationViewer.FocusedIndex = index;
    
    this.axWindowsMediaPlayer.Visible = false;
    this.annotationViewer.Visible = true;
}
Alex
Site Admin
Posts: 2044
Joined: Thu Jul 10, 2008 2:21 pm

Re: Image painting

Post by Alex »

Hello,

Please send us (to support@vintasoft.com) a small project, which allows to reproduce your problem. We will analyze the problem and will suggest you the best solution.

Best regards, Alexander
missionRoom
Posts: 13
Joined: Wed Jan 22, 2020 4:38 pm

Re: Image painting

Post by missionRoom »

Sent a project to support. Thanks, Alexander
Alex
Site Admin
Posts: 2044
Joined: Thu Jul 10, 2008 2:21 pm

Re: Image painting

Post by Alex »

Hi,
missionRoom wrote: Mon Feb 10, 2020 4:03 pm Sent a project to support.
Thank you for the project. We reproduced the problem, improved your code and now project works as expected. Please use changed project and let me know if you will have any question or problem.

Best regards, Alexander
Post Reply