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

Custom Annotation

Last post 28 Aug 2008, 11:28 AM by venepally_v. 3 replies.
Sort Posts: Previous Next
  •  05 Apr 2007, 6:14 PM 11803

    Custom Annotation

    Hi,

    I am coding a custom annotation> The goal is to draw a line with some text at the end. I got to the point where the line and the text are visible after inserting the annotation. But when I moving the annotation it don't re-draw correctly.

    The Data class Inherits Atalasoft.Annotate.LineData

    The engine Inherits LineRenderingEngine

    The Annotation Inherits Atalasoft.Annotate.UI.LineAnnotation

    I already overrided Public Overrides Function GetRegion  , It did not help.

    Any ideas,

     Thanks,

    Roberto

  •  06 Apr 2007, 5:52 AM 11805 in reply to 11803

    Re: Custom Annotation

    You probably need to override the Bounds property.  Make sure it returns the rectangle bounds for all items being drawn by the renderer.


    Glenn Chittenden Jr.
    Atalasoft Development Team
  •  06 Apr 2007, 12:17 PM 11807 in reply to 11805

    Re: Custom Annotation

    Hi Glenn,

     Thanks you, is working now.

     Roberto

  •  28 Aug 2008, 11:28 AM 15385 in reply to 11803

    Re: Custom Annotation

    Hi Roberto,

        I am trying to do a similar custom annotation (Image and some text). I came across your post and thought you might help me. Could you let me know how you were able to create a custom annotation as mentioned above. I would really appreciate if you could show your code.

    Thanks,

    Venkat

     

     

View as RSS news feed in XML