Copyright © 2013-2014 MultiMedia Soft

GraphicItemBuddyPictureParamsSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains parameters of a buddy picture associated to a graphic item over the waveform's graphics. Current parameters can be obtained through the GraphicItemBuddyPictureParamsGet 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]

control.GraphicItemBuddyPictureParamsSet (

nUniqueId as Long,

settings as Long

) as enumWanErrorCodes


 

[C++]

short control.GraphicItemBuddyPictureParamsSet (

long nUniqueId,

void *settings

);


 

 

Parameter

Description

 

 

nUniqueId

Unique identification number assigned to the graphic item.

The unique identification number of a graphic item is generated using one of the following methods:

GraphicItemHorizontalLineAdd for horizontal lines
GraphicItemVerticalLineAdd for vertical lines
GraphicItemWaveRangeAdd for wave ranges

settings

Address of a structure of type WANALYZER_BUDDY_PICTURE that contains the new settings of the buddy picture.

 

 

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.