Copyright © 2008-2023 MultiMedia Soft

TracksBoard.ControlIconsAlignmentSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Defines the alignment for control icons respect to the left amplitude ruler of the Tracksboard.

 

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

 

 

Syntax

 

[Visual Basic]

Public Function ControlIconsAlignmentSet (

bCenterHorizontally as Boolean,

bCenterVertically as Boolean

) as enumErrorCodes


 

[C++]

public enumErrorCodes ControlIconsAlignmentSet (

bool bCenterHorizontally,

bool bCenterVertically

);


 

[C++]

public: enumErrorCodes ControlIconsAlignmentSet (

bool bCenterHorizontally,

bool bCenterVertically

);


 

Parameter

Description

 

 

bCenterHorizontally

Boolean value indicating if control icons are horizontally aligned to the center or to the left.

Supported values are the following:

Value

Meaning

BOOL_FALSE

Control icons are horizontally aligned to the left

BOOL_TRUE

Control icons are horizontally aligned to the center

bCenterVertically

Boolean value indicating if control icons are vertically aligned to the center or to the top.

Supported values are the following:

Value

Meaning

BOOL_FALSE

Control icons are vertically aligned to the top

BOOL_TRUE

Control icons are vertically aligned to the center

 

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to get the error code

enumErrorCodes.ERR_NOERROR (0)

The method call was successful