Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

WebImageViewer control - clear image
Started by BenAlicea at 08-04-2008 13:03. Topic has 5 replies.

Print Search « Previous Thread Next Thread »
  08-04-2008, 13:03
BenAlicea is not online. Last active: 8/4/2008 5:59:21 PM BenAlicea

Not Ranked
Joined on 08-04-2008
Posts 4
WebImageViewer control - clear image
Reply Quote

I am setting the ImageURL property on the WebImageViewer control in order to display an image. How can I clear the image being displayed on the WebImageViewer control?

 

Thanks

Ben


   Report 
  08-04-2008, 13:18
jigar is not online. Last active: 12/12/2008 5:08:42 PM jigar



Top 10 Posts
Joined on 08-22-2007
Posts 480
Re: WebImageViewer control - clear image
Reply Quote
You can set ImageURL to null.

LEADTOOLS Technical Support
   Report 
  08-05-2008, 14:39
BenAlicea is not online. Last active: 8/4/2008 5:59:21 PM BenAlicea

Not Ranked
Joined on 08-04-2008
Posts 4
Re: WebImageViewer control - clear image
Reply Quote

I tried that and I received the following error:

Object reference not set to an instance of an object.

Thanks

Ben


   Report 
  08-05-2008, 16:40
jigar is not online. Last active: 12/12/2008 5:08:42 PM jigar



Top 10 Posts
Joined on 08-22-2007
Posts 480
Re: WebImageViewer control - clear image
Reply Quote
Hmmm...try setting it to an empty string.  Haven't encountered it before and we don't have an explicit way of clearing the image on the viewer.

LEADTOOLS Technical Support
   Report 
  08-07-2008, 10:32
BenAlicea is not online. Last active: 8/4/2008 5:59:21 PM BenAlicea

Not Ranked
Joined on 08-04-2008
Posts 4
Re: WebImageViewer control - clear image
Reply Quote

I tried that also and received an invalid url error. I ended up creating a small blank image as a work around.

Thanks

 

Ben


   Report 
  08-18-2008, 11:38
jigar is not online. Last active: 12/12/2008 5:08:42 PM jigar



Top 10 Posts
Joined on 08-22-2007
Posts 480
Re: WebImageViewer control - clear image
Reply Quote
I've submitted this as a feature request.  If ImageUrl = string.Empty then the image should clear in the WebImageViewer.  The feature request number is 985FRQ.

LEADTOOLS Technical Support
   Report 
Post
LEAD Support Fo... » Developer » Internet » WebImageViewer control - clear image

Powered by Community Server, by Telligent Systems