Difference between revisions of "VS:ImportImageFileN"

From Vectorworks Developer
Jump to: navigation, 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 funciton allow controlling the options when importing the image.</desc>
+
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. if the call was never made with option dialog, then the firt time it will show the options dialog.
+
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 10: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:ImportImageFile

VS Functions: [[VS:ImportImageFile]]
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox