Description

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 McStream* pStream - [optional] the settings to save, or if NULL, then save the settings of the current McStream.

Return Type

None  

Syntax

object.SaveSettings ContextPropertyBag, [pStream]

The SaveSettings Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McFiles.
ContextPropertyBagRequired. An Unknown object.
pStreamOptional. A McStream object.

Remarks

The opposite of SaveSettings is RestoreSettings