Copyright © 2008-2018 MultiMedia Soft

WaveformAnalyzer.SettingsRulersSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets rulers new settings for the waveform analyzer. Current settings can be obtained through the WaveformAnalyzer.SettingsRulersGet method.

 

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 class section.

 

 

Syntax

 

[Visual Basic]

Public Function SettingsRulersSet (

settings as WANALYZER_RULERS_SETTINGS,

fontText as Font

) as enumErrorCodes


 

[C#]

public enumErrorCodes SettingsRulersSet (

WANALYZER_RULERS_SETTINGS settings,

Font fontText

);


 

[C++]

public: enumErrorCodes SettingsRulersSet (

WANALYZER_RULERS_SETTINGS settings,

Font fontText

);


 

 

Parameter

Description

 

 

settings

The rulers new settings.

fontText

The font that needs to be used for rendering the text of ruler's ticks.

The component will make a copy of this font so, when the method's call returns to the caller, you can remove this font from system resources by calling the DeleteObject function of the Windows API.

 

 

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.