ImageGear Professional v18.2 > API Reference Guide > ARTX Component API Reference > ARTX Component Objects > IGArtXCtl Control > IGArtXCtrl Methods > CreateImage Method |
Creates an image annotation either from a reference file name or an IGPage Object containing the image. If both are given, the filename takes precedence over the IGPage Object.
CreateImage(
Rect As IGRectangle,
FileName As String,
Page As IGPage) As IGArtXImage
Name | Description |
---|---|
Rect | IGRectangle Object rectangle object that contains coordinates and dimensions for the annotation to be created. |
FileName | String containing the full path to the image file. |
Page | IGPage Object (which should be linked to the IGPage documentation) object containing the embedded image. |
New instance of IGArtXImage Object.
N/A