Copyright © 2013-2017 MultiMedia Soft

BitmapViewGraphicItemsMaskSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets the mask for determining which graphic items will be rendered over the waveform through the BitmapViewDrawToHdc method.

 

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 BitmapViewGraphicItemsMaskSet (

nGraphicItemsMask as enumGraphicItemMaskValues

) as enumWanErrorCodes


 

[C#]

public enumWanErrorCodes BitmapViewGraphicItemsMaskSet (

enumGraphicItemMaskValues nGraphicItemsMask

);


 

[C++]

public: enumWanErrorCodes BitmapViewGraphicItemsMaskSet (

enumGraphicItemMaskValues nGraphicItemsMask

);


 

 

Parameter

Description

 

 

nGraphicItemsMask

Combination of values determining the mask of graphic items that must be drawn. By default all graphic items are enabled for being drawn.

Supported values are the following:

Mnemonic constant

Value

Meaning

MASK_GRAPHIC_ITEM_NONE

0

No graphic item is drawn

MASK_GRAPHIC_ITEM_VERTICAL_LINE

1

Draws vertical lines

MASK_GRAPHIC_ITEM_HORIZONTAL_LINE

2

Draws horizontal lines

MASK_GRAPHIC_ITEM_WAVE_RANGE

4

Draw wave ranges

 

 

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.