Hello,
Emerson wrote:01-How can I then add the files to maintain an identification of that, and editions for
other actions
To insert an image to MultilayerViewer you need to create instance of ImageVObject class. This class contains Tag property, you can store a path to image file there.
Emerson wrote:02-After having identified the image, how do I add actions to click open a new
window (as an editor)
It is quite simple. You click “Edit button”, get currently selected ImageVObject, extract original path from Tag property and load this image into your editor. After a user completes editing, you resave this image (replace the previous one or save another copy), delete previous ImageVObject instance from MultiLayerViewer, create new ImageVObject based on new edition of the image, and insert it to MultiLayerViewer.
Emerson wrote:02-can change the image and then update?
The way is the same as described in the previous question.
Emerson wrote:03-I want to save a project without the pictures include the serialization, only with reference
pictures?
Unfortunately Vector Objects does not support it, nevertheless you can do serialization by yourself in your project, you just need to walk through all ImageVObject instances, get their settings and save them to XML file, for example.
Emerson wrote:04-component has control of pages? or is to temporarily save the session and clear the
component to the next page and so on
You are right, you need to reinitialize content of the control when you switch to the next page.
Emerson wrote:05-or not taking control of page, can I send several sessions for serialization and generating a
only file?
If you implement your own serialization, you can take your XML file where you save templates, extract images and transformations applied to them, load images to memory, apply transformations and stitch them all together. In this case you need to implement overlaying algorithm by yourself. Another way is to load template to the control (the control can be invisible) and call to RenderWorkspace method.
Emerson wrote:06-there is some kind of compression in the file generated, or must be done by outside
component?
Yes, it should be done outside of components.
Emerson wrote:07-component that can merge images to create images with masks?
If you mention the sample images attached to the post, you just need to create image mask with transparency and add it to MultiLayerViewer as additional ImageVObject. The way how to do it you can find in the
Overlaying Images article.
Emerson wrote:08-can identify the image when dragging an image on it it is subistituida
dragged by the new image?
Yes, you can do it, see
multilayer vs drag-n-drop post.
Emerson wrote:09-can put an image in a context menu?
If you mean to add a command to context menu allowing to insert new image to MultiLayerViewer, it is quite simple, you just need to create context menu, and create ImageVObject instances by this command.