Copyright © 2006-2016 MultiMedia Soft

WaveformAnalyzer.GraphicItemBuddyTextFontParamsSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Modifies one of the font settings for the buddy text of the given graphic item.

This method is provided with the purpose of allowing single settings modifications when dealing with languages like JavaScript where data structures are not easy to implement.

 

For details about the use of the Waveform Analyzer refer to the How to use the Waveform Analyzer section.

For further details about methods of the Waveform Analyzer refer to the WaveformAnalyzer object section.

 

 

Syntax

 

[Visual Basic]

control.WaveformAnalzyer.GraphicItemBuddyTextFontParamsSet (

nUniqueId as Integer,

nParam as short,

strValue as String

) as enumErrorCodes


 

[C++]

short control.WaveformAnalzyer.GraphicItemBuddyTextFontParamsSet (

short nUniqueId,

short nParam,

LPCTSTR strValue

);


 

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:

nParam

Numeric identifier of the requested parameter.

Supported values are the following:

Value

Meaning

0

lfFaceName member of the LOGFONT data structure (for details about the LOGFONT data structure see the MSDN documentation).

1

lfHeight member of the LOGFONT data structure

2

lfWeight member of the LOGFONT data structure

3

lfItalic member of the LOGFONT data structure

4

lfUnderline member of the LOGFONT data structure

5

lfStrikeOut member of the LOGFONT data structure

strValue

String representing the numerical value to set: the multimedia engine will manage converting the string into the corresponding numerical value.

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.