SharpLeaf Reference > ParagraphStyle Structure > ToString Method

ParagraphStyle.ToString Method

Parsable summary of style settings.

public override string ToString();

Description

Can be parsed by ParagraphStyle constructor, Set, SharpLeaf.AddParagraphs, SharpLeaf.PushStyle.

Here’s the list of fields and their value types

FieldsTypeExamples
FontSize FontInterline IndentLeft IndentRight IndentFirst SpaceBefore SpaceAfter SpaceStarting SpaceFollowing Keep BookmarkLevelSingle numberFontSize=12 SpaceAfter=-1.5
FontName Bullet BulletFontString (quoted to protect spaces, HTML entities to protect quotes)FontName=”Times New Roman” Bullet=”&”
FontStyle BulletStyleFontStyle (comma-separated list)FontStyle=Bold,Underline
FontColor BulletColorColor (named or #numbered)FontColor=Navy BulletColor=#FF0000
AlignmentAlignmentAlignment=Right
Wrap IndentFirstAfterChange PageBreak FrameBreak SpaceBetween BookmarkOpenedBooleanWrap=false FrameBreak=true
TabsComma-separated list of numbersTabs=72,144,216,288
TabAlignmentsComma-separated list of AlignmentTabAlignments=Left,Center,Decimal,Right

See also ...

ParagraphStyle.Members


Send comments on this topic
© Dyalog Ltd 2021