Click or drag to resize

IMcFeaturesList2SaveList Method

The names and coordinates of the list McFeatures are stored in a destination file, IStorage or IStream.

Namespace:  MediaCy.IQL.Features
Assembly:  MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
Syntax
VB
Function SaveList ( 
	<OutAttribute> ByRef SaveTo As Object
) As Integer

Parameters

SaveTo
Type: SystemObject
Either an Empty Variant, a string file name, an object IStream interface pointer or an object IStorage interface pointer. If an Empty Variant is given, then that Variant is filled with a Byte array (VT_UI1) holding the saved list information. If a file name is given, the file is saved as a simple ASCII text file into the given file name. If an IStorage is supplied, a stream named "Contents" is filled with the list information.

Return Value

Type: Int32
The length of the saved characters, in bytes.

Implements

IMcFeaturesListSaveList(Object)
Examples
VB
'Save to a file
Debug.Print "Saved chars = " & Str(AoiList.SaveList("C:\Temp\McFL1.aoi"))
'Save in a Variant
Dim varSavedList As Variant
varSavedList = Empty 'make sure it is empty
AoiList.SaveList varSavedList
See Also