Leadtools.ColorConversion Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.5.7
Start Method
See Also 
Leadtools.ColorConversion Namespace > RasterColorConverter Class : Start Method




srcFormat
Format of the source data.
destFormat
Format of the output data.
parameters
A ConversionParameters object which contains the conversion properties used in the initialization.
Initializes the color conversion engine.

Syntax

Visual Basic (Declaration) 
Public Sub Start( _
   ByVal srcFormat As ConversionColorFormat, _
   ByVal destFormat As ConversionColorFormat, _
   ByVal parameters As ConversionParameters _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterColorConverter
Dim srcFormat As ConversionColorFormat
Dim destFormat As ConversionColorFormat
Dim parameters As ConversionParameters
 
instance.Start(srcFormat, destFormat, parameters)
Managed Extensions for C++ 
public: void Start( 
   ConversionColorFormat srcFormat,
   ConversionColorFormat destFormat,
   ConversionParameters* parameters
) 

Parameters

srcFormat
Format of the source data.
destFormat
Format of the output data.
parameters
A ConversionParameters object which contains the conversion properties used in the initialization.

Example

For an example, refer to RasterColorConverter.Startup.

Remarks

The Start method must be called after calling the RasterColorConverter.Startup method and before calling any other LEADTOOLS Color Space methods in the case of indirect conversion.

When the color conversion engine is no longer needed, it should be freed by calling Stop. For every call to Start there must be a call to Stop. If parameters is null(Nothing), the default built in conversion is assumed, and any subsequent calls to RasterColorConverter.SetParameters will only affect CMYK conversion parameters. When you choose the conversion method, be sure not to combine the Profiles option (ConversionMethodFlags.ConversionMethodFlags.UseIcc) with the Custom Profiles option (ConversionMethodFlags.ConversionMethodFlags.UseCustomIcc), or the Emulation Tables method (ConversionMethodFlags.ConversionMethodFlags.UseEmulationTables) with the custom Emulation Tables method (ConversionMethodFlags.ConversionMethodFlags.UseCustomEmulationTables).

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also