BVMS Server- and Client-SDK
BVMS Server- and Client-SDK
BVMS Server- and Client-SDK
Bosch.Vms.SDK
IContentManager Interface
IContentManager Methods
CloseImagePane Method
DisableAudio Method
DisplayCamera Method
DisplayCameraInInstantPlayback Method
DisplayDocument Method
DisplayHtml Method
DisplaySequence Method
EnableAudio Method
EnterFullscreen Method
GetCameraFromImagePane Method
GetCurrentTimeStamp Method
GetCurrentTimeStampUtc Method
GetDigitalZoomStep Method
GetDocumentFromImagePane Method
GetGranularity Method
GetNextFreeLiveImagePane Method
GetNextFreePlaybackImagePane Method
GetPanoramicPredefinedPositions Method
GetSelectedImagePane Method
GetSequenceFromImagePane Method
IsImagePaneEmpty Method
IsInstantPlaybackContent Method
LeaveFullscreen Method
MaximizeImagePane Method
MinimizeImagePane Method
PrintImagePane Method
ResetMonitor Method
SaveImagePane Method
SetDigitalZoomStep Method
SetGranularity Method
SetPanoramicPredefinedPosition Method
SwitchOffImagePaneBars Method
SwitchOnImagePaneBars Method

# IContentManagerSetPanoramicPredefinedPosition Method |

Sets the predefined position of a panoramic camera. This method automatically changes the panoramic mode to "Cropped" and sets the predefined position. If the image pane displays a video of a camera that is not a panoramic camera then the call is ignored.
Namespace: Bosch.Vms.SDK
Assembly: Bosch.Vms.SDK (in Bosch.Vms.SDK.dll) Version: 1.9.0.0
Syntax
C#
Copy

    void SetPanoramicPredefinedPosition(
    	ImagePane pane,
    	int predefinedPositionNumber
    )

#### Parameters

pane ImagePane
  Image pane that displays a video of a panoramic camera.
predefinedPositionNumber Int32
  The number of a configured predefined position.

Exceptions

Exception | Condition
--- | ---
SdkException | Is thrown when the given pane is invalid, a predefined position with the given predefinedPositionNumber doesn't exist or the pane doesn't display a video of a panoramic camera.

Example
C#
Copy

    try
    {
        IContentManager contentManager = this.Api.ContentManager;
        ImagePane pane = new ImagePane(1, 1);
        int predefinedPositionNumber = 3;
        contentManager.SetPanoramicPredefinedPosition(pane, predefinedPositionNumber);
        this.Logger.InfoFormat("The predefined position {0} is set", predefinedPositionNumber);
    }
    catch(SdkException e)
    {
        this.Logger.Error(e);
    }

See Also

#### Reference

IContentManager Interface
Bosch.Vms.SDK Namespace

Copyright © Bosch Sicherheitssysteme GmbH