InterfaceFilterAddGraphicPathAsSurface(GraphicsPath, PointF, IODBLayer, Boolean) Method

Adds a GraphicPath as surface to ParentLayer on the Location.

Definition

Namespace: PCBI.Automation.Interfaces
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
IODBObject AddGraphicPathAsSurface(
	GraphicsPath NewSurfacePath,
	PointF Location,
	IODBLayer ParentLayer,
	bool checkForHoles
)

Parameters

NewSurfacePath  GraphicsPath
The new surface outline
Location  PointF
The offset of the surface
ParentLayer  IODBLayer
The layer to add
checkForHoles  Boolean
Internal check for holes, this takes some time.

Return Value

IODBObject
false if an error occurs

See Also