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

SharpLeaf.IncludeRule Method (Double,Double)

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

public bool IncludeRule(
    double weight,
    double length
);
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).
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