Resize the background (layer 0) to fit all layers (the image is sized, but its content is not stretched).

Note: The color of added background is specified by Background

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public void LayersCropBackground(
	bool selectedOnly,
	int fillAlpha,
	bool allowReduce,
	bool allowEnlarge
)
Public Sub LayersCropBackground ( _
	selectedOnly As Boolean, _
	fillAlpha As Integer, _
	allowReduce As Boolean, _
	allowEnlarge As Boolean _
)
public:
void LayersCropBackground(
	bool selectedOnly, 
	int fillAlpha, 
	bool allowReduce, 
	bool allowEnlarge
)

Parameters

selectedOnly
Boolean
The background will be cropped to fit selected layers only
fillAlpha
Int32
Alpha value used to fill added regions (0: Fully Transparent - 255: Opaque)
allowReduce
Boolean
Parts of the image can be cut so layers will align with image edges
allowEnlarge
Boolean
Parts will be added to the image so layers are not beyond hte image area

See Also