Visual Basic (Declaration) | |
---|---|
Public Sub Start( _ ByVal srcFormat As ConversionColorFormat, _ ByVal destFormat As ConversionColorFormat, _ ByVal parameters As ConversionParameters _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void Start( ConversionColorFormat srcFormat, ConversionColorFormat destFormat, ConversionParameters parameters ) |
C++/CLI | |
---|---|
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.
For an example, refer to RasterColorConverter.Startup.
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).
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).
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family