TabSheetDisplayPaperResult GetTabSheetDisplayPaper(TabSheetId tTabSheet)
tTabSheet. Moniker of the sheet, for which operation was executed.
The GetTabSheetDisplayPaper operation gets page border display settings.
To execute the operation, in the tTabSheet field specify sheet moniker. The moniker can be based on the moniker of opened object instance, with which the work is executed.
The operation results in the page border display settings.
Below is the example of getting page border display settings. The request contains moniker of the sheet that is divided into pages. The response contains setting value.
{
"GetTabSheetDisplayPaper" :
{
"tTabSheet" :
{
"id" : "JONPGPOBGHLNFOAEKLBMKJOPCDGDDHPEFJNDMKCLCALFLGLI!M!S!PNCJKHHPBGHLNFOAECCLLPOGCOBIIAJFEAIMHNHBJIBCIKHKO!Sheets!1"
}
}
}
{
"GetTabSheetDisplayPaperResult" :
{
"dp" : "0"
}
}
public static TabSheetDisplayPaperResult GetTabSheetDisplayPaper(string moniker, string sheetKey)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetTabSheetDisplayPaper()
{
tTabSheet = new TabSheetId() { id = moniker + "!Sheets!" + sheetKey }
};
// Get page border display settings
var result = somClient.GetTabSheetDisplayPaper(tGet);
return result;
}
See also: