Hi,
The standard toolbar that comes in camera view is missing when we have plugin with imageviewer control.
Only sent to printer is available.
How do we enable all other controls?
Hi,
The standard toolbar that comes in camera view is missing when we have plugin with imageviewer control.
Only sent to printer is available.
How do we enable all other controls?
You can not enable the controls from the CameraViewItem. You will need to add your own controls for your own ViewItem. Alternative, you add your functions to the existing CameraViewItem by implementing background plugin with overlays and added toolbar.
Any sample available?
Yes, check out the SCToolbarPlugin
I have used ShowCameraNameViewItemToolbarPluginInstance to show the puzzle icon functionality present n sc tool bar but nothing is getting added when I load my plug-in CameraViewItem. May I know is there anything extra I need to do?
I have added below codes n my plugin
private List _viewItemToolbarPlugins = new List();
In init
_viewItemToolbarPlugins.Add(new ShowCameraNameViewItemToolbarPlugin());
public override List ViewItemToolbarPlugins
{
get { return \_viewItemToolbarPlugins; }
}
I created the same and updated the code as per you do, but enabling the loading of the tools, can you brief me regarding the same?
I would like a clarification.
Would you like to add buttons to the built-in camera view item?
Much like the puzzle icon in the SCToolbarPlugin sample wit a built-in camera view item.
OR
Would you like to add buttons to your view item?
Much like the red, green and blue icons in the SCToolbarPlugin sample when using with the Background color view item.
Perhaps when I emphasize that the behavior is compltely different on built-in camera view item and a MIP view item it actually is sort of an answer. Let me know the kind og view-item you are working with.
I would like the puzzle icon in the SCToolbarPlugin sample wit a built-in camera view item where in I want to build the existing functionality like below
![]()
Excellent, this is what the SCToolbarPlugin sample does. The sample does this in the ShowCameraNameViewItemToolbarPluginInstance class, many of the other classes might not be needed. You can copy the class and code to your plugin.
Not only puzzle icon I want to add all the button and its functionality which is shown in the toolbar as shown in the above image
I think you misunderstood my previous question.
A built-in camera view item:
A MIP plugin view item: (VideoReplay sample)
It is unfortunately so that when you are using your own MIP plugin view item you cannot get the icons that automatically present themselves when using the built-in camera view item.