Contact us


All times are UTC - 8 hours



   [ 2 posts ] 
Author Message
   


Joined: Mon Feb 10, 2014 3:23 pm
Posts: 2
i'm using the following function to get the image to display in DWControl
DWObject.HTTPDownloadEx(strHTTPServer, '<%= VirtualDirectoryName %>' + newpath,<%=strImageFileType %>)

how i can set current image index after loading the image ?

the image may be open with the image index 12 or 13
i need to open the file(pdf or tif) and set focus on the last index or first index of the file.


User avatar
   


Joined: Tue Mar 08, 2005 12:23 am
Posts: 1706
Hi Mosbah,

Thank you for contacting us.

>> how i can set current image index after loading the image ?

You can use CurrentImageIndexInBuffer property to set current image index.

For example,
to set first index as current image, use: DWObject.CurrentImageIndexInBuffer = 0;
to set last index as current image, use: DWObject.CurrentImageIndexInBuffer = DWObject.HowManyImagesInBuffer - 1;

For more details, you can referred to:
>> CurrentImageIndexInBuffer Property
>> HowManyImagesInBuffer Property

If you have any further question, please feel free to contact us.

Regards,

_________________
Vincy
Dynamsoft Support Team
Follow us@Twitter, Facebook


Display posts from previous:  Sort by  
   [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Copyright © 2018 Dynamsoft | All Rights Reserved
dynamic designed by Dynamsoft team