Click or drag to resize

IMcFilesOutputPrefix Property

Gets or Sets the the Prefix string used for identifying Screen Grabs. If no prefix is indicated, the OutputStream's FileName is used.

Namespace:  MediaCy.IQL.IO
Assembly:  MediaCy.IQL.IO (in MediaCy.IQL.IO.dll) Version: 10.0.6912.0
Syntax
VB
Property OutputPrefix As String
	Get
	Set

Return Value

Type: String
BSTR
Remarks
If the OutputPrefix is set, then the OutputNumbers are appended. If the OutputPrefix is not set, then the OutputNumbers are not appended
Examples
VB
' Using OutputNumbers
ImageFiles.OutputStream.Format = "tif"
ImageFiles.OutputPrefix = "GRAB"
ImageFiles.OutputNumbers = 0;
ImageFiles.Store ThisApplication.ActiveImage 'stores GRAB0.tif
ImageFiles.Store ThisApplication.ActiveImage 'stores GRAB1.tif
ImageFiles.Store ThisApplication.ActiveImage 'stores GRAB2.tif
' Not using OutputNumbers
ImageFiles.OutputStream.Format = "tif"
ImageFiles.OutputStream.FileName = "myFile.tif"
ImageFiles.Store ThisApplication.ActiveImage 'stores myFile.tif
ImageFiles.Store ThisApplication.ActiveImage 'stores myFile.tif if Overwrite is True, else Fails
See Also