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.

Definition

Namespace: PCBI.Automation.Interfaces
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
Bitmap CreatePreviewImage(
	Size ImageSize,
	bool ShowComponents,
	bool topSide = true,
	string stepName = ""
)

Parameters

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)

Return Value

Bitmap
Image for preview.

See Also