Package org.apache.poi.xwpf.usermodel
Class XWPFPicture
java.lang.Object
org.apache.poi.xwpf.usermodel.XWPFPicture
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the underlying CTPicture bean that holds all properties for this picturedoublegetDepth()Returns the depth of the picture (in points).Get the PictureData of the Picture, if present.doublegetWidth()Returns the width of the picture (in points).voidLink Picture with PictureData
-
Constructor Details
-
XWPFPicture
-
-
Method Details
-
setPictureReference
Link Picture with PictureData -
getCTPicture
Return the underlying CTPicture bean that holds all properties for this picture- Returns:
- the underlying CTPicture bean
-
getPictureData
Get the PictureData of the Picture, if present. Note - not all kinds of picture have data -
getWidth
public double getWidth()Returns the width of the picture (in points).- Since:
- POI 4.1.1
-
getDepth
public double getDepth()Returns the depth of the picture (in points).- Since:
- POI 4.1.1
-
getDescription
-