Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

WANG Annotation Scroll Problem

Last post 24 Mar 2008, 10:58 AM by DMann. 5 replies.
Sort Posts: Previous Next
  •  30 Mar 2007, 10:25 AM 11769

    WANG Annotation Scroll Problem

    Hi Guys

    I am having a problem with WEBAnnotationViewer.

    When I set ANNOTATION DATA FORMAT property to WANG of  WEBAnnotationViewer and implement Annotations like Embed Image, Line annotation etc etc then they are created with no problem but when the scroll position of the Image being showed in the WEBAnnotationViewer is changed then all the annotaions shows the error

    "ERROR HAS OCCURED AND HAS BEEN LOGGED". When i Check the log i see the following error

     

    size: {Width=256, Height=256} layer: 0 group: -1 index: 0

    atalagetanno=0&atala_a_l=0&atala_z=1&atala_id=WebAnnotationViewer1&atala_rnd=89588652

    Object reference not set to an instance of an object.

       at Atalasoft.Imaging.WebControls.Annotations.WebAnnotationViewer.a(Int32 A_0, Int32 A_1, Int32 A_2, Boolean A_3)

    Void a(Int32, Int32, Int32, Boolean)
    -----------------------
    size: {Width=256, Height=256} layer: 0 group: -1 index: 0

    atalagetanno=0&atala_a_l=0&atala_z=1&atala_id=WebAnnotationViewer1&atala_rnd=65700144

    Object reference not set to an instance of an object.

       at Atalasoft.Imaging.WebControls.Annotations.WebAnnotationViewer.a(Int32 A_0, Int32 A_1, Int32 A_2, Boolean A_3)

    Void a(Int32, Int32, Int32, Boolean)
    -----------------------

     
     Regards,

    Naveed Khan 

    Filed under:
  •  02 Apr 2007, 9:15 AM 11782 in reply to 11769

    Re: WANG Annotation Scroll Problem

    There are currently a few issues with WANG format and the WebAnnotationViewer.  We are attempting to get a fix out for these soon.
    David Cilley
    My AJAX Imaging Blog
    Atalasoft Development Team
  •  03 Apr 2007, 4:07 AM 11788 in reply to 11782

    Re: WANG Annotation Scroll Problem

    So when the Next Fixes will be released ? Please let me know

     

    Regards, Naveed Khan

  •  29 Jan 2008, 12:10 PM 13050 in reply to 11788

    Re: WANG Annotation Scroll Problem

    Is there an update to this issue?  I'm getting the same error (5.0f)
  •  31 Jan 2008, 11:27 AM 13071 in reply to 13050

    Re: WANG Annotation Scroll Problem

    What exactly are the steps that you took in order to load the WANG annotations into the WebAnnotationViewer?  Please include the html tag of the WebAnnotationViewer and the code snippet you used to load them into the viewer.  It is important to know whether you are loading these annotations initially, loading them upon a postback, or loading them in a remote invoke.

    The WebAnnotationViewer does not natively store the annotations in WANG format, it loads and converts them to XMP on the fly.  This can cause some problems if they are not loaded at the right time in the control's life cycle.


    David Cilley
    My AJAX Imaging Blog
    Atalasoft Development Team
  •  24 Mar 2008, 10:58 AM 13537 in reply to 13071

    Re: WANG Annotation Scroll Problem

    Good morning, David.

    I have some additional questions that go along with this topic, which I hope you'll be able to answer.

    You mentioned issues with loading WANG annotations at different points in the WebAnnotationViewer's life cycle.  With that in mind:

    1.  Do these issues occur with XMP annotations, too, or just WANG?
    2.  We have a viewer that is required to load multiple documents (a document represents 1 multi-page tiff file in our document management product) in a virtual queue without causing a postback after the initial load of the viewer.  Is it possible to load annotations using Remote_Invokable functions in tandem with the WebThumbnailViewer.OpenURL() method, or is a postback necessary in order to load another queued document along with its annotation data?
    3.  Given that the control handles XMP data natively, would it be better to simply convert all existing WANG annotations in documents to XMP?  If so, is there a way to directly test the type of annotation in a tif file, or do I have to make an assumption about the annotations stored in the documents?

     Thank you very much for your time on this matter; this has been an informative thread so far, and I look forward to any response you might be able to offer regarding my questions.

     
    --David

View as RSS news feed in XML