Copyright © 2005-2023 MultiMedia Soft

TracksBoard.SettingsRulersSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets rulers new settings for the TracksBoard. Current settings can be obtained through the TracksBoard.SettingsRulersGet method.

 

For details about the use of the TracksBoard refer to the How to use the TracksBoard to visually compose songs tutorial.

For further details about methods of the TracksBoard refer to the TracksBoard class section.

 

 

Syntax

 

[Visual Basic]

Public Function SettingsRulersSet (

settings as TRACKSBOARD_RULERS_SETTINGS,

fontText as Font

) as enumErrorCodes


 

[C#]

public enumErrorCodes SettingsRulersSet (

TRACKSBOARD_RULERS_SETTINGS settings,

Font fontText

);


 

[C++]

public: enumErrorCodes SettingsRulersSet (

TRACKSBOARD_RULERS_SETTINGS settings,

Font fontText

);


 

 

Parameter

Description

 

 

settings

Structure of type TRACKSBOARD_RULERS_SETTINGS that contains the rulers new settings.

fontText

The font used for rendering the text of ruler's ticks.

 

 

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.