SharpLeaf Reference > SharpLeaf Methods > IncludeRule Method > (Double,Double,Alignment)

SharpLeaf.IncludeRule Method (Double,Double,Alignment)

Draw a solid black rule with specified weight, length and alignment.

public bool IncludeRule(
    double weight,
    double length,
    Alignment alignment
);
weight
Width of the ruled line in points (default to 1).
length
Length of the ruled line (positive is absolute size in points, negative is relative to current frame width) (defaults to ¯1 = frame width).
alignment
Horizontal alignment of the rule.
return value
Whether a rule was actually drawn or not.

See also ...

SharpLeaf Members | SharpLeaf.IncludeRule Method


Send comments on this topic
© Dyalog Ltd 2021