VS:ImportImageFileN: Difference between revisions
Jump to navigation
Jump to search
m (1 revision: vw2015) |
(fix various typos) |
||
Line 6: | Line 6: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<desc> | <desc> | ||
Import the specified image file as an Image object in Vectorworks.This | Import the specified image file as an Image object in Vectorworks. This function allows controlling the options when importing the image.</desc> | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
Line 35: | Line 35: | ||
mode | mode | ||
INTEGER | INTEGER | ||
Import mode: 0 - import using import option dialog; 1 - import using the last options. | Import mode: 0 - import using import option dialog; 1 - import using the last options. If the call was never made with option dialog, then the first time it will show the options dialog. | ||
</line> | </line> | ||
</lineList> | </lineList> |
Latest revision as of 14:46, 21 September 2014
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Import the specified image file as an Image object in Vectorworks. This function allows controlling the options when importing the image.
FUNCTION ImportImageFileN(
filePath :DYNARRAY[] of CHAR;
importPt :REAL;
mode :INTEGER) : HANDLE;
def vs.ImportImageFileN(filePath, importPt, mode): return HANDLE
Parameters
filePath DYNARRAY[] of CHAR Import file path. importPt REAL The import location. mode INTEGER Import mode: 0 - import using import option dialog; 1 - import using the last options. If the call was never made with option dialog, then the first time it will show the options dialog.
Return Value
Return the imported image handle, or NIL if the import failed.
Version
Availability: from Vectorworks 2015
See Also
VS Functions:
VS Functions:
[[VS:ImportImageFile]]