Click or drag to resize

IMcFilesSaveSettings Method

This method allows a client to persist the settings of an individual Stream type, for an indivdual context. For example, one could use this method to save the settings of the last ScreenCapture, and these values would be available the next time ScreenCapture is run as the default values. These values would not, however, be the default settings for Convert or for File Open or Save. The pStream parameter is optional, and will override the ImageFiles own member stream. Properties: LPUNKNOWN ContextPropertyBag - The IPropertyBag object in which to save the Settings IMcStream* pStream - [optional] the settings to save, or if NULL, then save the settings of the current McStream.

Namespace:  MediaCy.IQL.IO
Assembly:  MediaCy.IQL.IO (in MediaCy.IQL.IO.dll) Version: 10.0.6912.0
Syntax
VB
Sub SaveSettings ( 
	ContextPropertyBag As Object,
	<OptionalAttribute> pStream As McStream
)

Parameters

ContextPropertyBag
Type: SystemObject
pStream (Optional)
Type: MediaCy.IQL.IOMcStream
Remarks
The opposite of SaveSettings is RestoreSettings
Examples
VB
Application.ImageFiles.OutputPath = "c:\temp\images\"
Application.ImageFiles.OutputStream.Format = "tif"
Application.ImageFiles.OutputStream.Compression = mcscLZW
Application.ImageFiles.Convert "c:\images"
Application.ImageFiles.SaveSettings Settings("Application", "Convert")
See Also