Insert image from clipboard or image file into an annotation
thisAnnotation.setImage(path
)
thisAnnotation.setImage('clipboard')
thisAnnotation.setImage('')
thisAnnotation.setImage(
inserts a image
from the file specified with the path
)path
argument.
thisAnnotation.setImage(
inserts an image
from the clipboard.'clipboard'
)
thisAnnotation.setImage(
sets the annotation to be
a text annotation.''
)
| Specifies the full path to the image file. |
| Specify inserting an image from the clipboard. |
| An empty value that sets the annotation to be a text annotation. |
None
If annotation A
is represented by Annotation object sA
,
the MATLAB® command statement
sA.setImage('myfolder/annotation_images/converter.png')
inserts the converter.png
image in annotation A.