Copyright © 2011-2018 MultiMedia Soft

GraphicBarsManager.GetRange method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the range of values accepted by the graphic bar. The current range can be modified through the GraphicBarsManager.SetRange method.

 

For further details about methods of the Graphic Bars Manager refer to the GraphicBarsMan class.

For a tutorial about the use of the Graphic Bars Manager refer to the How to perform custom feedbacks rendering using graphic bars section.

 

 

Syntax

 

[Visual Basic]

Public Function GetRange (

hWndGraphicBar as IntPtr,

ByRef nMinValue as Int32,

ByRef nMaxValue as Int32

) as enumErrorCodes


 

[C#]

public enumErrorCodes GetRange (

IntPtr hWndGraphicBar,

ref Int32 nMinValue,

ref Int32 nMaxValue

);


 

[C++]

public: enumErrorCodes GetRange (

IntPtr hWndGraphicBar,

Int32 __gc *nMinValue,

Int32 __gc *nMaxValue

);


 

 

 

Parameter

Description

 

 

hWndGraphicBar

Handle of the control returned by a previous call to the GraphicBarsManager.Create method

nMinValue

Reference to Min value

nMaxValue

Reference to Max value

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumErrorCodes.NOERROR (0)

The method call was successful.