[]
Provides options for text splitting.
public class TextSplitOptions
Initializes a new instance of the TextSplitOptions class.
public TextSplitOptions()
Initializes a new instance of the TextSplitOptions class copying data from the given TextLayout.
public TextSplitOptions(TextLayout textLayout)
textLayout
TextLayoutTextLayout to be used as the source of data for a new instance of TextSplitOptions.
Initializes a new instance of the TextSplitOptions class copying data from another instance of TextSplitOptions.
public TextSplitOptions(TextSplitOptions splitOptions)
splitOptions
TextSplitOptionsTextSplitOptions to be used as the source of data for a new instance of TextSplitOptions.
Gets or sets a value indicating whether a line spacing should be added after the last line of the current TextLayout after splitting.
public bool AddSpacingAfterLastLine { get; set; }
Gets or sets a value indicating whether, if no part of the content can fit in the current layout, to move all content to rest TextLayout. The default is false.
public bool AllowMovingAllToRest { get; set; }
Gets or sets a value indicating whether paragraphs should be kept together (cannot be split between pages or columns).
public bool KeepParagraphLinesTogether { get; set; }
Gets or sets a value indicating whether the typographic line gap should be added before the first line of the rest TextLayout.
public bool LineGapBeforeFirstLine { get; set; }
Gets or sets the minimum number of lines on the last page (or at the ending of the first paragraph on the next page) to prevent widows.
public int MinLinesInFirstParagraph { get; set; }
Gets or sets the minimum number of lines that must appear at the beginning of the last paragraph to prevent orphans.
public int MinLinesInLastParagraph { get; set; }
Gets or sets the width of the layout box measured from left or right margin for the rest of the text after splitting, in graphic units.
public float? RestColumnWidth { get; set; }
Gets or sets the bottom margin of the layout box for the rest of the text after splitting, in graphic units.
public float RestMarginBottom { get; set; }
Gets or sets the left margin of the layout box for the rest of the text after splitting, in graphic units.
public float RestMarginLeft { get; set; }
Gets or sets the right margin of the layout box for the rest of the text after splitting, in graphic units.
public float RestMarginRight { get; set; }
Gets or sets the top margin of the layout box for the rest of the text after splitting, in graphic units.
public float RestMarginTop { get; set; }
Gets or sets the height of the layout box for the rest of the text after splitting, in graphic units.
public float? RestMaxHeight { get; set; }
Gets or sets the width of the layout box for the rest of the text after splitting, in graphic units.
public float? RestMaxWidth { get; set; }
Gets or sets the list of areas occupied by embedded objects for the rest of the text after splitting.
public List<ObjectRect> RestObjectRects { get; set; }
Gets or sets the height of the layout box measured from top or bottom margin for the rest of the text after splitting, in graphic units.
public float? RestRowHeight { get; set; }