Declaration
property RulerDir: TRulerDir;
Description
Specifies the direction of the ruler (horizontal or vertical).
Default: rdHorizontal
// Configure ruler along the top of a TImageEnView
RulerBox1.RulerDir := rdHorizontal;

// Configure ruler along the left of a TImageEnView
RulerBox1.RulerDir := rdVertical;