The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



Orientation


Unit: SDL_colorscale
Class: TColorScale
Declaration: property Orientation: TColScaleOrientation;

The property Orientation controls the direction of the color scale. Please note that changing the orientation does not (ex)change the width and height, nor the margins of the control. Thus when changing the orientation you have to adjust the width and height, and probably the margins.

Hint: In the Light Edition the orientation of the TColorScale component is restricted to csoHorizontal.

Example: This property is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): colscale



Last Update: 2023-Dec-13