More Annotation Questions
Posted: Wed Feb 10, 2010 1:50 pm
Hello,
Is it possible to keep the "BuildAnnotation" status turned on after an annotation has been drawn?
In my application, I have a Highlighter toolstrip button that gives the user the ability to press it and then highlight areas in the document. The problem is, as soon as they have highlighted an area, the "RectangleAnnotation" status is turned off and I have to call the "BuildAnnotation" method again to turn it back on. This is not a big deal, if I could get it to work. Unfortunately, the only place I know to call the "BuildAnnotation" method again is from the "AnnotationChanged" event, which is causing an infinite loop and therefore an error. Is it possible to have an option to keep the buildannotation status turned on?
Also, I think I know the answer to this, but I am going to ask it anyway. Is there anyway to have the highlights brighter? I would like to allow my users to highlight in bright yellow (255,255,0). The problem is, the only way I can find to make the "RectangleAnnotation" transparent is to set the Alpha value in an ARGP color, which causes the colors to get very dull. I am currently using a value of 120, which is about the best mix of transparency and brightness that I can find. Is there any way to get a bright yellow transparent rectangle?
Thanks,
Reagan
Is it possible to keep the "BuildAnnotation" status turned on after an annotation has been drawn?
In my application, I have a Highlighter toolstrip button that gives the user the ability to press it and then highlight areas in the document. The problem is, as soon as they have highlighted an area, the "RectangleAnnotation" status is turned off and I have to call the "BuildAnnotation" method again to turn it back on. This is not a big deal, if I could get it to work. Unfortunately, the only place I know to call the "BuildAnnotation" method again is from the "AnnotationChanged" event, which is causing an infinite loop and therefore an error. Is it possible to have an option to keep the buildannotation status turned on?
Also, I think I know the answer to this, but I am going to ask it anyway. Is there anyway to have the highlights brighter? I would like to allow my users to highlight in bright yellow (255,255,0). The problem is, the only way I can find to make the "RectangleAnnotation" transparent is to set the Alpha value in an ARGP color, which causes the colors to get very dull. I am currently using a value of 120, which is about the best mix of transparency and brightness that I can find. Is there any way to get a bright yellow transparent rectangle?
Thanks,
Reagan