|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
public interface ipicture
represents a picture in a word document.
method summary | |
---|---|
iparagraph |
addcaption(java.lang.string name,
captionnumberingformat format,
captionposition captionposition)
add caption for current picture |
java.lang.string |
getalternativetext()
gets the picture's alternative text. |
float |
getheight()
returns picture height. |
float |
getheightscale()
returns picture height scale factor in percent. |
shapehorizontalalignment |
gethorizontalalignment()
returns picture horizontal alignment. |
horizontalorigin |
gethorizontalorigin()
gets horizontal origin of the picture. |
float |
gethorizontalposition()
gets absolute horizontal position of the picture. |
java.awt.image.bufferedimage |
getimage()
gets internal system.drawing.image object. |
byte[] |
getimagebytes()
gets image byte array. |
textwrappingstyle |
gettextwrappingstyle()
gets text wrapping style of the picture. |
textwrappingtype |
gettextwrappingtype()
gets text wrapping type of the picture. |
java.lang.string |
gettitle()
gets the picture's title |
shapeverticalalignment |
getverticalalignment()
returns picture vertical alignment. |
verticalorigin |
getverticalorigin()
gets vertical origin of the picture. |
float |
getverticalposition()
gets absolute vertical position of the picture. |
float |
getwidth()
returns picture width. |
float |
getwidthscale()
returns picture width scale factor in percent. |
boolean |
isundertext()
|
void |
isundertext(boolean value)
|
void |
loadimage(byte[] imagebytes)
loads system.drawing.image as byte array. |
void |
loadimage(java.io.inputstream inputstream)
loads system.drawing.image object. |
void |
loadimage(java.lang.string filepath)
loads system.drawing.image object. |
void |
setalternativetext(java.lang.string value)
sets the picture's alternative text. |
void |
setheight(float value)
sets picture height. |
void |
setheightscale(float value)
sets picture height scale factor in percent. |
void |
sethorizontalalignment(shapehorizontalalignment value)
sets picture horizontal alignment. |
void |
sethorizontalorigin(horizontalorigin value)
sets horizontal origin of the picture. |
void |
sethorizontalposition(float value)
sets absolute horizontal position of the picture. |
void |
settextwrappingstyle(textwrappingstyle value)
sets text wrapping style of the picture. |
void |
settextwrappingtype(textwrappingtype value)
sets text wrapping type of the picture. |
void |
settitle(java.lang.string value)
sets the picture's title |
void |
setverticalalignment(shapeverticalalignment value)
sets picture vertical alignment. |
void |
setverticalorigin(verticalorigin value)
sets vertical origin of the picture. |
void |
setverticalposition(float value)
sets absolute vertical position of the picture. |
void |
setwidth(float value)
sets picture width. |
void |
setwidthscale(float value)
sets picture width scale factor in percent. |
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 |
---|
float getheight()
void setheight(float value)
value
- the value is measured in points.float getwidth()
void setwidth(float value)
value
- the value is measured in points.float getheightscale()
void setheightscale(float value)
value
- floatfloat getwidthscale()
void setwidthscale(float value)
value
- floatvoid loadimage(java.io.inputstream inputstream)
inputstream
- the image input streamvoid loadimage(java.lang.string filepath)
filepath
- the image file pathjava.awt.image.bufferedimage getimage()
void loadimage(byte[] imagebytes)
imagebytes
- imagebytesbyte[] getimagebytes()
iparagraph addcaption(java.lang.string name, captionnumberingformat format, captionposition captionposition)
name
- nameformat
- formatcaptionposition
- captionposition
horizontalorigin gethorizontalorigin()
void sethorizontalorigin(horizontalorigin value)
value
- horizontaloriginverticalorigin getverticalorigin()
void setverticalorigin(verticalorigin value)
value
- verticaloriginfloat gethorizontalposition()
void sethorizontalposition(float value)
value
- the value is measured in points and the position is relative to horizontalorigin.float getverticalposition()
void setverticalposition(float value)
value
- the value is measured in points and the position is relative to verticalorigin.textwrappingstyle gettextwrappingstyle()
void settextwrappingstyle(textwrappingstyle value)
value
- textwrappingstyletextwrappingtype gettextwrappingtype()
void settextwrappingtype(textwrappingtype value)
value
- textwrappingtypeshapehorizontalalignment gethorizontalalignment()
void sethorizontalalignment(shapehorizontalalignment value)
value
- shapehorizontalalignmentshapeverticalalignment getverticalalignment()
void setverticalalignment(shapeverticalalignment value)
value
- shapeverticalalignmentjava.lang.string getalternativetext()
void setalternativetext(java.lang.string value)
value
- the alternative text.java.lang.string gettitle()
void settitle(java.lang.string value)
value
- the title textboolean isundertext()
void isundertext(boolean value)
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |