IPCBIWindowAddPictureLayer(String, String, Boolean, Boolean, Boolean) Method
Adds an PicuteLayer to the current ODB++ Job.
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public IPictureLayer AddPictureLayer(
string FilePath,
string LayerName,
bool OpenPictureLayerDialog,
bool FitIn,
bool AddUndo = false
)
Public Function AddPictureLayer (
FilePath As String,
LayerName As String,
OpenPictureLayerDialog As Boolean,
FitIn As Boolean,
Optional AddUndo As Boolean = false
) As IPictureLayer
public:
virtual IPictureLayer^ AddPictureLayer(
String^ FilePath,
String^ LayerName,
bool OpenPictureLayerDialog,
bool FitIn,
bool AddUndo = false
) sealed
abstract AddPictureLayer :
FilePath : string *
LayerName : string *
OpenPictureLayerDialog : bool *
FitIn : bool *
?AddUndo : bool
(* Defaults:
let _AddUndo = defaultArg AddUndo false
*)
-> IPictureLayer
override AddPictureLayer :
FilePath : string *
LayerName : string *
OpenPictureLayerDialog : bool *
FitIn : bool *
?AddUndo : bool
(* Defaults:
let _AddUndo = defaultArg AddUndo false
*)
-> IPictureLayer
- 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.
IPictureLayerInterfacePCBIWindowAddPictureLayer(String, String, Boolean, Boolean, Boolean)