IPCBIWindowAddPictureLayer(String, String, Boolean, Boolean, Boolean) Method

Adds an PicuteLayer to the current ODB++ Job.

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public IPictureLayer AddPictureLayer(
	string FilePath,
	string LayerName,
	bool OpenPictureLayerDialog,
	bool FitIn,
	bool AddUndo = false
)

Parameters

FilePath  String
location of the image
LayerName  String
the new layer name
OpenPictureLayerDialog  Boolean
Would you transform the image?
FitIn  Boolean
try to fit the image in profile
AddUndo  Boolean  (Optional)
Add to undo list to remove layer by calling undo.

Return Value

IPictureLayer

Implements

InterfacePCBIWindowAddPictureLayer(String, String, Boolean, Boolean, Boolean)

See Also