VS:ImportResToCurFileN: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
No edit summary |
||
Line 1: | Line 1: | ||
__TOC__ | __TOC__ | ||
<vwDoc> | <vwDoc> | ||
Line 5: | Line 5: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<desc> | <desc> | ||
Imports the indicated resource from the specified list to the current file, if it is not already in the current file, and returns the handle to the resource. | Imports the indicated resource from the specified list to the current file, if it is not already in the current file, and returns the handle to the resource. It will use a callback function to determine how to handle duplicate resouce.</desc> | ||
</desc> | |||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<def> | <def> | ||
<funcDef lang="vs"> | <funcDef lang="vs"> | ||
FUNCTION ImportResToCurFileN(listID: LONGINT; index: LONGINT; callback: | FUNCTION ImportResToCurFileN(listID:LONGINT; index:LONGINT; callback:PROCEDURE) : HANDLE; | ||
</funcDef> | </funcDef> | ||
<funcDef lang="py"> | <funcDef lang="py"> | ||
Line 24: | Line 21: | ||
<params> | <params> | ||
<lineList ident=1> | <lineList ident=1> | ||
<line> | <line> | ||
listID | listID | ||
LONGINT | LONGINT | ||
</line> | </line> | ||
<line> | <line> | ||
index | index | ||
LONGINT | LONGINT | ||
</line> | </line> | ||
<line> | <line> | ||
callback | callback | ||
PROCEDURE | |||
</line> | </line> | ||
</lineList> | </lineList> | ||
Line 48: | Line 40: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<remark> | <remark></remark> | ||
</remark> | |||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<sample> | <sample></sample> | ||
</sample> | |||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<seeAlso> | <seeAlso></seeAlso> | ||
</seeAlso> | |||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<version> | <version> | ||
Availability: from Vectorworks | Availability: from Vectorworks 2014 | ||
</version> | </version> |
Revision as of 17:36, 18 September 2013
Description
Imports the indicated resource from the specified list to the current file, if it is not already in the current file, and returns the handle to the resource. It will use a callback function to determine how to handle duplicate resouce.
FUNCTION ImportResToCurFileN(
listID :LONGINT;
index :LONGINT;
callback :PROCEDURE) : HANDLE;
def vs.ImportResToCurFileN(listID, index, callback): return HANDLE
Parameters
listID LONGINT index LONGINT callback PROCEDURE
Version
Availability: from Vectorworks 2014