bool DashboardSlidesMove(string mon, ItemMoveInfo tArg)
mon. Moniker for working with information panel slides.
tArg. Slide moving parameters.
The DashboardSlidesMove operation moves information panel slides.
To execute the operation, in the mon field specify moniker of opened information panel instance with the !Slides postfix, and in the tArg.indexFrom and tArg.indexTo fields specify indexes of the position, from which and to which slide is moved. The moniker can be obtained on executing the OpenDashboard operation.
The operation results in the logical true if the slide was moved successfully.
Below is the example of moving slides in the information panel. The request contains moniker for working with slides and the position, from which and to which the slide is moved. The response contains whether the slide was moved successfully.
{
"DashboardSlidesMove" :
{
"mon" : "NPIEIDPOHJAFGOAELKELIPCKGACGDODEJKMKLMAKBEHEPNNL!M!S!PNNJOPHPOHJAFGOAEICILHADAKIJGHMLEMLEPKLENIMMHAMNE!Slides",
"tArg" :
{
"indexFrom" : "2",
"indexTo" : "0"
}
}
}
{
"DashboardSlidesMoveResult" : "1"
}
public static bool DashboardSlidesMove(string moniker, uint fromPosition, uint toPosition)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tMove = new DashboardSlidesMove()
{
tArg = new ItemMoveInfo()
{
indexFrom = fromPosition,
indexTo = toPosition
},
// Moniker for working with information panel slides
mon = moniker + "!Slides"
};
// Move slides
var result = somClient.DashboardSlidesMove(tMove);
return result;
}
See also: