bool DashboardVisualizersDelete(string mon, DashboardVisualizer tArg)
mon. Moniker for working with information panel visualizers.
tArg. Visualizer to be deleted.
The DashboardVisualizersDelete operation deletes visualizer from information panel.
To execute the operation, in the mon field specify moniker of opened information panel instance with the !Visualizers postfix, and in the tArg.k field specify key of deleted visualizer. If the visualizer is on the slide, define the tArg.parentKey field. The moniker can be obtained on executing the OpenDashboard operation.
The operation results in the logical true if the visualizer is deleted successfully.
Below is the example of deleting visualizer from information panel. The request contains moniker for working with visualizers and key of deleted visualizer. The response contains whether removal was successful.
{
"DashboardVisualizersDelete" :
{
"mon" : "NGDHDGCPEHADGOAENOBLDBIDDCDEGILEPLMLPCIIGMNMBLKH!M!S!PLHPAOLCPEHADGOAEAHKONCEDOLHDDIAEGIKMEIJNDDGMDEOI!Visualizers",
"tArg" :
{
"k" : "3"
}
}
}
{
"DashboardVisualizersDeleteResult" : "1"
}
public static bool DashboardVisualizersDelete(string moniker, uint visKey, ulong? parentVisKey)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tDel = new DashboardVisualizersDelete()
{
tArg = new DashboardVisualizer()
{
k = visKey,
parentKey = parentVisKey
},
// Moniker for working with information panel visualizers
mon = moniker + "!Visualizers"
};
// Delete visualizer
var result = somClient.DashboardVisualizersDelete(tDel);
return result;
}
See also: