SharpLeaf Reference > SharpLeaf Methods > IncludeRule Method

SharpLeaf.IncludeRule Method

Rule a line across frame – unless at the top of a new frame.

Overloads

Result

Flag indicating whether a rule was actually drawn or not.

Example

  // Two-point wide centered rule taking half the frame width
   if (lf.IncludeRule(2,-0.5)) {
    // Add more space if rule was drawn (i.e. not at top of frame)
     lf.IncludeSpace(lf.Style.SpaceAfter);
   }

See also ...

Text Inclusions | SharpLeaf Members


Send comments on this topic
© Dyalog Ltd 2016