itextrange-ag凯发旗舰厅



com.spire.doc.interfaces
interface itextrange

all superinterfaces:
idocumentobject, iparagraphbase
all known subinterfaces:
ifield, imergefield
all known implementing classes:
checkboxformfield, controlfield, dropdownformfield, field, formfield, iffield, mergefield, sequencefield, textformfield, textrange

public interface itextrange
extends iparagraphbase

interface publishes text range functionality


method summary
 void applycharacterformat(characterformat charformat)
          applies specified character format for current text range.
 characterformat getcharacterformat()
          gets text format.
 java.lang.string gettext()
          returns text.
 void settext(java.lang.string value)
          sets text.
 
methods inherited from interface com.spire.doc.interfaces.iparagraphbase
applystyle, getownerparagraph, getstylename
 
methods inherited from interface com.spire.doc.interfaces.idocumentobject
deepclone, getdocument, getdocumentobjecttype, getnextsibling, getowner, getprevioussibling, iscomposite
 
method detail

gettext

java.lang.string gettext()
returns text.
returns:
string

settext

void settext(java.lang.string value)
sets text.
parameters:
value - string

getcharacterformat

characterformat getcharacterformat()
gets text format.
returns:
characterformat

applycharacterformat

void applycharacterformat(characterformat charformat)
applies specified character format for current text range.
parameters:
charformat - characterformat


网站地图