Returns the coverage area of all or selected layers.

The result will include any layers outside the background layer (if LayersCropped and Cropped are not set).

Notes:

- If layers extend to the left or above the background layer, then resulting IERectangle.X/Y will be less than PosX/Y of Layer 0

- If layers extend to the right or below the background layer, then resulting IERectangle.Width/Height may be greater than the dimensions of IEImage

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public IERectangle LayersRect(
	bool selOnly,
	bool excludeLayer0
)
Public Function LayersRect ( _
	selOnly As Boolean, _
	excludeLayer0 As Boolean _
) As IERectangle
public:
IERectangle LayersRect(
	bool selOnly, 
	bool excludeLayer0
)

Parameters

selOnly
Boolean
If true consider only selected layers
excludeLayer0
Boolean
If excludeLayer0 is False, then the background layer is not included in the result.

Return Value

See Also