We are displaying a captured image centered in WpfAnnotationViewer with white background. These captured images have lot of white space. Is there anyway to set a border for the displayed image so that it is visually separated from the background.
Thanks
Babu
Re: Border around image displayed in WpfAnnotationViewer
Thank you for the input. We were using 8.5 version. Now upgraded to 8.6 and have tried with the WpfAnnotationDemo application and couldn't see the image border. Do we need to make any other changes?
The WpfImageViewer.ImageBorderColor and WpfImageViewer.ImageBorderWidth properties are specifying the border color and width for not focused image. I think you are using image viewer in single page view mode and this is reason of your problem.
For adding the border to the image in single page view mode you need set the following properties:
UseImageAppearancesInSinglePageMode = True
FocusedImageBorderColor = Blue
FocusedImageBorderWidth = 4
Best regards, Alexander
Re: Border around image displayed in WpfAnnotationViewer