IODBLayerCalculateArea(Boolean, IPolyClass) Method

Calculate the area of this layer.

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public double CalculateArea(
	bool CombineNets,
	IPolyClass OnlyInPolygon
)

Parameters

CombineNets  Boolean
Combine all objects of a net, its important if you whant to remove overlappings.
OnlyInPolygon  IPolyClass
Only objects with center point inside this polygon.

Return Value

Double
the area of all objects on the layer in mils

See Also