Import File as Picture

Imports an external file as a picture file in the active collection.

 

Input Arguments

 

0

File Path or Embedded File

External MP File Name

The name of the picture to import

1

Boolean

Replace Existing?

Specifies whether the imported file will replace an existing picture with the same name.

Return Arguments

None.

 

Returned Status

 

SUCCESS

The file was successfully imported.

FAILURE

The source file could not be found.

Remarks

This command supports standard picture formats such as *.jpg, *.png.