bool SetPrxMetaOptions(string mon, PrxMetaOptions tArg)
mon. Moniker to work with regular report settings.
tArg. Regular report settings to be changed.
The SetPrxMetaOptions operation changes regular report settings.
To execute the operation, in the mon field specify moniker of regular report instance with the !Options postfix. In the tArg field set values for settings to be changed. The moniker can be obtained on executing the OpenPrxMeta operation.
The operation results in the logical True if the settings were changed successfully.
Below is the example of changing regular report settings. The request contains moniker to work with regular report settings and attribute whether it is required to hide sheet tabs. The response contains whether changes are applied successfully.
{
"SetPrxMetaOptions" :
{
"mon" : "S1!M!S!P1!Options",
"tArg" :
{
"displayTabs" : "false"
}
}
}
{
"SetPrxMetaOptionsResult" : "1"
}
public static bool SetPrxMetaOptions(string moniker)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tSet = new SetPrxMetaOptions()
{
tArg = new PrxMetaOptions()
{
displayTabs = false,
},
mon = moniker + "!Options"
};
//Change regular report settings
var result = somClient.SetPrxMetaOptions(tSet);
return result;
}
See also: