symbol-ag凯发旗舰厅
com.spire.doc.fields
class symbol
java.lang.object
com.spire.doc.ownerholder
com.spire.doc.documents.xml.documentserializable
com.spire.doc.documentobject
com.spire.doc.documentbase
com.spire.doc.fields.paragraphbase
com.spire.doc.fields.symbol
- all implemented interfaces:
- irunattrsource, idocumentobject, iparagraphbase
public class symbol
- extends paragraphbase
symbol
public symbol(idocument doc)
- initializing constructor.
- parameters:
doc
- doc
getdocumentobjecttype
public documentobjecttype getdocumentobjecttype()
- gets the type of the document object.
- specified by:
getdocumentobjecttype
in interface idocumentobject
- specified by:
getdocumentobjecttype
in class documentobject
- returns:
- the type of the document object.
getcharacterformat
public characterformat getcharacterformat()
- gets character format for the symbol.
- overrides:
getcharacterformat
in class paragraphbase
- returns:
- the character format
getfontname
public java.lang.string getfontname()
- returns symbol font name.
- returns:
- the font name
setfontname
public void setfontname(java.lang.string value)
- sets symbol font name.
- parameters:
value
- the font name
getcharactercode
public byte getcharactercode()
- returns symbol's character code.
- returns:
- the character code
setcharactercode
public void setcharactercode(byte value)
- sets symbol's character code.
- parameters:
value
- the character code