WYSIWYG to create annotated images - wysiwyg

I have a special needs situation. I need a tool to allow annotating images. So, the WYSIWYG would have an image. I could click on a spot in the image and create a select box. I can size this box to whatever dimension need. I can then add text that will be associated with the box that will show up on a tool tip when the image is viewed.
So basically, need to be able to select an area of the image and save the coordinates of the area position and size, along with accompanying text.

Related

using itextsharp add image under text but over other images that have been placed

Imagine a pdf with text and a application that test images over the text.
In every test pdf is saved and the next test using same pdf.
The first time you add image under text you can see the results, next time you will try you add image under is not appear because first image cover it.
So...exists something GetBetween or can i choose the layer that i want?
If i use GetUnderContent only first image appears and all others are hide.
If i use GetOverContent then the text is covered by image.

Wrap text written within user defined area in pdf

We have a requirement where user wants to write some content from the db to selected areas in pdf. We provide this option by asking the user to upload pdf to the system, after drawing rectangular markups within. Later he can define rules as to what content he can write to the defined area. We use iText for all operations like reading coordinates of the drawn markups, writing content to the defined area.
Now the challenge is that we need to wrap the text within the area that the user has defined. We use the ColumnText class to write the content. Is there anyway we can wrap the text within the area? Posting this query from mobile. So couldn't upload any helpful code.

How to display a scrollable grid of images in matlab GUI

How can i display a scrollable grid of images in matlab GUI?
I want something similar to what is shown below
This stackoverflow post describes a way of displaying images in a uitable by setting the 'String' property to an HTML code pointing to an image. But this requires me to save the images to disk which is not an option i would like as these displays are fired up dynamically.
It would also be nice, if i could add a checkbox inside each image so the user can select a subset of them.
You can use this tool. In the gui, you should be able to scroll through. But to have title below every image you might have to edit the tool.
Sample output:
a grid of images http://www.mathworks.in/matlabcentral/fx_files/22387/12/imdisp.jpg
The answer is here:
How can I use scrollbars in MATLAB figure windows when viewing large GUIs?
-> Note: This is a workaround, scrollbars are not available for Matlab-figures
I would suggest to use the tool Prashanth presented in his awnswer and combine it, by putting all elements within the panel.

SSRS: External image in tablix cell

My data set contains a column named IconUri that contains a full HTTP address to an image located on a web server. This data set is bound to a tablix, and I'd like to display the image in a cell.
1) I've tried to drag an image into the cell, but I can't use expressions as the image itself isn't aware of its parent's (the tablix) data set.
2) I've also tried to apply the image as a cell background, and while this certainly displays the image, it repeats it in horizontal and vertical direction, which is undesirable. The cell shall contain only one copy of the image.
3) I've tried to create a rectangle in the cell, but it will scale to the cell itself and thus the same effect as above.
Is there a way in which this might be done? I'm even open to performing some XML hacking if this is what is necessary. Thank you!
From the toolbox drag an image into your the cell of your tablix:
Then right click on the newly added image in the cell and select Image Properties:
Change the image source to External and then pick the dataset field that contains your product URL:
If you get the dreaded red cross instead of an image when you run the report, triple check that the URL actually does point at a publicly available image.
If your using a file from the file system rather than an image hosted at a url, you need to ensure the file path is in the form of "file:///C:/RDLCTest/TestImage.png".
If your also displaying the report in the ReportViewer control you will need to turn on EnableExternalImages for the report in code, but that isn't needed if your just outputting the report to say a PDF and downloading it
Use Image and in the image properties set the value to something like this
= Code.ConvertTotWebUrl(First(Fields!Logo.Value, "dsOrder"))
I solved this problem by examining the XML code that the editor created for the image, and I moved the relevant tag inside the tablix cell and assigned the appropriate bindings. When I re-opened the editor again, everything fell into place: the image recognizes the data source and compiling as well as rendering works flawelessly.

WordProcessingML shapes problem

I am currently working on exporting information from browser to word document. I am having information which contains colors and shapes. Now when I export them using wordprocessingML I am able to export text that are highlighted in colors. But I am also having certain text in browser that are encapsulated with circles ad box. I found that using VML we can render shapes. But I want the shapes to be in the specified x-axis and y-axis, so that it renders the text properly. Is there is any way to specify co-ordinates in shapes using keywords like "this.x", "this.y". Something similar to this to render the shapes on the text. I am not sure whether I am clear. Would like to discuss more about this.
I have found that solution for this problem. We can use "auto" keyword which can be used to find the relative position of the shapes in the worddocument according to the flow of the page. Now my question when I passed margin-left:auto, margin-top;auto, I was able to display the shapes in the right dimension. But I have also included text inside the text attribute which I want the shapes to be overlapped. I am getting shapes aside the text, not wrapping the text. Does anyone know the solution, I can try it. I find it really interesting to work on wordml.