public class XWPFPicture
extends java.lang.Object
Constructor and Description |
---|
XWPFPicture(org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture ctPic,
XWPFRun run) |
Modifier and Type | Method and Description |
---|---|
org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture |
getCTPicture()
Return the underlying CTPicture bean that holds all properties for this picture
|
double |
getDepth()
Returns the depth of the picture (in points).
|
java.lang.String |
getDescription() |
XWPFPictureData |
getPictureData()
Get the PictureData of the Picture, if present.
|
double |
getWidth()
Returns the width of the picture (in points).
|
void |
setPictureReference(PackageRelationship rel)
Link Picture with PictureData
|
public XWPFPicture(org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture ctPic, XWPFRun run)
public void setPictureReference(PackageRelationship rel)
public org.openxmlformats.schemas.drawingml.x2006.picture.CTPicture getCTPicture()
public XWPFPictureData getPictureData()
public double getWidth()
public double getDepth()
public java.lang.String getDescription()
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.