InterfacePCBIWindowCreatePreviewImage(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.Automation.InterfacesAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
Bitmap CreatePreviewImage(
Size ImageSize,
bool ShowComponents,
bool topSide = true,
string stepName = ""
)
Function CreatePreviewImage (
ImageSize As Size,
ShowComponents As Boolean,
Optional topSide As Boolean = true,
Optional stepName As String = ""
) As Bitmap
Bitmap^ CreatePreviewImage(
Size ImageSize,
bool ShowComponents,
bool topSide = true,
String^ stepName = L""
)
abstract 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)
- true=Top Side, false=Bot Side (seen from top)
- stepName String (Optional)
- Name of the step or empty (=current step)
BitmapImage for preview.