Changes the Kind type of the specified layer to IEImageLayer.

This will change it from a vector-based layer to a standard bitmap layer. Bitmap layers can be edited using standard image modification features, but the quality will be lost if you resize the layer.

Note:

- For text layers, a QualityFactor of 1 usually works best

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public void LayersConvertToImageLayers(
	int layerIdx,
	double qualityFactor,
	bool cropAlpha,
	bool convertImages
)
Public Sub LayersConvertToImageLayers ( _
	layerIdx As Integer, _
	qualityFactor As Double, _
	cropAlpha As Boolean, _
	convertImages As Boolean _
)
public:
void LayersConvertToImageLayers(
	int layerIdx, 
	double qualityFactor, 
	bool cropAlpha, 
	bool convertImages
)

Parameters

layerIdx
Int32
The index of a specific layer can be specified, or -1 to process all layers, or -2 to process selected layers.
qualityFactor
Double
QualityFactor determines the size that the layer bitmap is created. A QualityFactor of 1 will create the bitmap at the current display size, whereas a QualityFactor of 2 would create it at double the display size (allowing it to be zoomed up 200% without loss of quality).
cropAlpha
Boolean
If CropAlpha is true, then it remove any alpha from the edges of the layer.
convertImages
Boolean
ConvertImages affects only image layers. By default image layers are ignored, if ConvertImages is true, the rotated images are fixed using LayersFixRotations

See Also