Method GetAnnotationSettingsGlobal
GetAnnotationSettingsGlobal(String)
Get global settings for annotations
Declaration
AnnotationSettingsContract GetAnnotationSettingsGlobal(string connectionId)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
Returns
Type | Description |
---|---|
AnnotationSettingsContract | Settings for global annotations |
Examples
POST http://YourServerName/InfoShare/Json/Common/GetAnnotationSettingsGlobal
Example for get global settings for annotations.{
"connectionId": "ded196ba-19e9-4bd4-ba86-433b3225979a"
}
Response:
{
"GetAnnotationSettingsGlobalResult": {
"AreaColor": -256,
"CoveringArea": -16777216,
"Templates": [{
"ColorBackground": -1,
"ColorText": -16776961,
"FontBold": true,
"FontItalic": false,
"FontName": "Arial",
"FontSize": 20,
"FontUnderline": false,
"Rotation": 0,
"TemplateName": "Genehmigt",
"TemplateText": "Genehmigt {%x}"
}, {
"ColorBackground": -1,
"ColorText": -16777216,
"FontBold": true,
"FontItalic": false,
"FontName": "Courier New",
"FontSize": 10,
"FontUnderline": true,
"Rotation": 0,
"TemplateName": "Entwurf",
"TemplateText": "Entwurf {%X}" }] }
}
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |