public static final class TextReplaceOptions.ReplaceAdjustment
extends com.aspose.ms.System.Enum
Determines action that will be done after replace of text fragment to more short. None - no action, replaced text may overlaps rest of the line; AdjustSpaceWidth - tries adjust spaces between words to keep line length; WholeWordsHyphenation - tries distribute words between paragraph lines to keep paragraph's right field; ShiftRestOfLine - shifts rest of the line according to changing length of text, length of the line may be changed; Default value is ShiftRestOfLine.
Modifier and Type | Field and Description |
---|---|
static int |
AdjustSpaceWidth
Tries adjust spaces between words to keep line length
|
static int |
None
No action, replaced text may overlaps rest of the line
|
static int |
ShiftRestOfLine
(Default) Shifts rest of the line according to changing length of text, length of the line may be changed
|
static int |
WholeWordsHyphenation
Tries distribute words between paragraph lines to keep paragraph's right field
|
public static final int None
No action, replaced text may overlaps rest of the line
public static final int AdjustSpaceWidth
Tries adjust spaces between words to keep line length
public static final int WholeWordsHyphenation
Tries distribute words between paragraph lines to keep paragraph's right field
public static final int ShiftRestOfLine
(Default) Shifts rest of the line according to changing length of text, length of the line may be changed
Copyright © 2020 Aspose. All Rights Reserved.