TextReplaceOptionsReplaceAdjustment Enumeration |
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.
Namespace: Aspose.Pdf.TextAssembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntax[FlagsAttribute]
public enum ReplaceAdjustment
<FlagsAttribute>
Public Enumeration ReplaceAdjustment
[FlagsAttribute]
public enum class ReplaceAdjustment
[<FlagsAttribute>]
type ReplaceAdjustment
Members
| Member name | Value | Description |
---|
| None | 0 |
No action, replaced text may overlaps rest of the line
|
| AdjustSpaceWidth | 1 |
Tries adjust spaces between words to keep line length
|
| WholeWordsHyphenation | 2 |
Tries distribute words between paragraph lines to keep paragraph's right field
|
| ShiftRestOfLine | 4 |
(Default) Shifts rest of the line according to changing length of text, length of the line may be changed
|
See Also