Search Results for

    Show / Hide Table of Contents

    Method SetAnnotationSettingsGlobal

    SetAnnotationSettingsGlobal(String, AnnotationSettingsContract)

    Set global settings for annotations

    Declaration
    void SetAnnotationSettingsGlobal(string connectionId, AnnotationSettingsContract annotationSettings)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    AnnotationSettingsContract annotationSettings

    Annotation settings to set

    Examples

    POST http://YourServerName/InfoShare/Json/Common/SetAnnotationSettingsGlobal

    Example for set global settings for annotations.

    {
       "connectionId":"ded196ba-19e9-4bd4-ba86-433b3225979a",
       "annotationSettings": {
         "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}" }]
    }

    Response:

    { }
    Exceptions
    Type Condition
    ServiceException

    The connection id {connectionId} isn't valid or has expired (10008)

    ServiceException

    The administrative context {administrativeContext} is already checked out by user {displayLoginName} (10129)

    ServiceException

    Verification code is needed: Verification code not yet verified (10152)

    ServiceException

    Could not parse hexadecimal color code string {hexColorCodeString} to a valid ARGB value (10207)

    ServiceException

    Not enough rights because it is a read-only user (10378)

    Back to top Copyright © Kendox