public interface IText
Interface for Text Editing for Text Layers
Modifier and Type | Method and Description |
---|---|
void |
addPortion(ITextPortion portion)
Adds the portion of text to the end
|
ITextPortion[] |
getItems()
Gets the items.
|
String |
getText()
Gets the text.
|
void |
insertPortion(ITextPortion portion,
int index)
Inserts the
ITextPortion to specified position |
ITextPortion |
producePortion()
Produces the new portion with default parameters
|
ITextPortion[] |
producePortions(String[] portionsOfText,
ITextStyle stylePrototype,
ITextParagraph paragraphPrototype)
Produces the new portions with input or default parameters.
|
void |
removePortion(int index)
Removes the portion in specified index
|
void |
updateLayerData()
Updates the layer data.
|
ITextPortion producePortion()
Produces the new portion with default parameters
ITextPortion
.ITextPortion[] producePortions(String[] portionsOfText, ITextStyle stylePrototype, ITextParagraph paragraphPrototype)
Produces the new portions with input or default parameters.
portionsOfText
- The portions of text to create new ITextPortion
.stylePrototype
- A style that, if not null, will be applied in the new <see. Cref="ITextPortion"></see.>
, otherwise will be default.paragraphPrototype
- A paragraph that, if not null, will be applied in the new <see. Cref="ITextPortion"></see.>
, otherwise will be default.ITextPortion
based on input parameters.void addPortion(ITextPortion portion)
Adds the portion of text to the end
portion
- The portion.void insertPortion(ITextPortion portion, int index)
Inserts the ITextPortion
to specified position
portion
- The portion.index
- The index.void removePortion(int index)
Removes the portion in specified index
index
- The index.void updateLayerData()
Updates the layer data.
ITextPortion[] getItems()
Gets the items.
Value: The items.String getText()
Gets the text.
Value: The text.Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.