IPCBIWindowCreatePreviewImage(Size, Boolean, Boolean, String) Method
Preview image is created from outline with drills. Simple without special pads and only one drill layer.
The image will be created of the loaded job, if no job is loaded the return bitmap is black.
It will use the current step for pcb outline and drills.
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public Bitmap CreatePreviewImage(
Size ImageSize,
bool ShowComponents,
bool topSide = true,
string stepName = ""
)
Public Function CreatePreviewImage (
ImageSize As Size,
ShowComponents As Boolean,
Optional topSide As Boolean = true,
Optional stepName As String = ""
) As Bitmap
public:
virtual Bitmap^ CreatePreviewImage(
Size ImageSize,
bool ShowComponents,
bool topSide = true,
String^ stepName = L""
) sealed
abstract CreatePreviewImage :
ImageSize : Size *
ShowComponents : bool *
?topSide : bool *
?stepName : string
(* Defaults:
let _topSide = defaultArg topSide true
let _stepName = defaultArg stepName ""
*)
-> Bitmap
override CreatePreviewImage :
ImageSize : Size *
ShowComponents : bool *
?topSide : bool *
?stepName : string
(* Defaults:
let _topSide = defaultArg topSide true
let _stepName = defaultArg stepName ""
*)
-> Bitmap
- ImageSize Size
- Size of the result image for preview.
- ShowComponents Boolean
- Show components on top side or not.
- topSide Boolean (Optional)
-
- stepName String (Optional)
-
BitmapImage for preview.
InterfacePCBIWindowCreatePreviewImage(Size, Boolean, Boolean, String)