SharpLeaf Reference > SharpLeaf Methods > PushStyle Method > (ParagraphStyle,String)

SharpLeaf.PushStyle Method (ParagraphStyle,String)

Temporarily change the current ParagraphStyle, while pushing previous on to the style stack – undone by PopStyle.

public void PushStyle(
    ParagraphStyle style,
    string extras
);
style
Style to use (clone of current by default).
extras
Extra temporary settings as produced by the ParagraphStyle.ToString method.

See also ...

SharpLeaf Members | SharpLeaf.PushStyle Method


Send comments on this topic
© Dyalog Ltd 2021