Copyright © 2011-2023 MultiMedia Soft

TracksBoard.SettingsRulersGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the rulers current settings for the TracksBoard. Settings can be modified through the TracksBoard.SettingsRulersSet 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 SettingsRulersGet (

ByRef settings as TRACKSBOARD_RULERS_SETTINGS,

ByRef fontText as Font

) as enumErrorCodes


 

[C#]

public enumErrorCodes SettingsRulersGet (

ref TRACKSBOARD_RULERS_SETTINGS settings,

ref Font fontText

);


 

[C++]

public: enumErrorCodes SettingsRulersGet (

TRACKSBOARD_RULERS_SETTINGS __gc *settings,

Font __gc *fontText

);


Parameter

Description

 

 

settings

Address of a structure of type TRACKSBOARD_RULERS_SETTINGS that, on return from the method call, will contain the rulers current settings.

fontText

Reference that, on return from the method call, will contain the current 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.