Copyright © 2013-2017 MultiMedia Soft

GraphicItemsMouseMoveEnable method

Previous pageReturn to chapter overviewNext page

Remarks

 

Enables/disables the possibility to move graphic items through the mouse.

 

For details about graphic items management on the waveform analyzer refer to the How to add graphic items to the Waveform analyzer section.

 

 

Syntax

 

[Visual Basic]

Public Function GraphicItemsMouseMoveEnable (

nGraphicItemsMask as enumGraphicItemMaskValues,

bEnable as Boolean

) as enumWanErrorCodes


 

[C#]

public enumWanErrorCodes GraphicItemsMouseMoveEnable (

enumGraphicItemMaskValues nGraphicItemsMask,

bool bEnable

);


 

[C++]

public: enumWanErrorCodes GraphicItemsMouseMoveEnable (

enumGraphicItemMaskValues nGraphicItemsMask,

bool bEnable

);


 

 

Parameter

Description

 

 

nGraphicItemsMask

Combination of values determining the mask of graphic items whose movement through mouse we want enable or disable.

Can be a combination of the following values:

Mnemonic value

Value

Meaning

MASK_GRAPHIC_ITEM_VERTICAL_LINE

1

The setting is applied to vertical lines

MASK_GRAPHIC_ITEM_HORIZONTAL_LINE

2

The setting is applied to horizontal lines

bEnable

Boolean value that specifies if mouse movement of the the graphic item must be enabled or disabled.

Supported values are the following:

Value

Meaning

false

Moving of given graphic items through the mouse is disabled

true (default)

Moving of given graphic items through the mouse is enabled

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumWanErrorCodes.ERR_WAN_NOERROR (0)

The method call was successful.