// reference
org.opendope.SmartArt.dataHierarchy.ImageRef imageRef = factory.createImageRef();
imageRef.setContentRef(imgPt.getModelId());
// Other attributes
if (imgPt.getPrSet()!=null ) {
CTElemPropSet props = imgPt.getPrSet();
if (props.getCustLinFactNeighborX()!=null) {
imageRef.setCustLinFactNeighborX(props.getCustLinFactNeighborX());
}
if (props.getCustLinFactNeighborY()!=null) {
imageRef.setCustLinFactNeighborY(props.getCustLinFactNeighborY());
}
if (props.getCustScaleX()!=null) {
imageRef.setCustScaleX(props.getCustScaleX());
}
if (props.getCustScaleY()!=null) {
imageRef.setCustScaleY(props.getCustScaleY());
}
}
thisListItem.setImageRef(imageRef);