InterfaceStepAOIHighResolutionBMPExport(ListIODBLayer, ListBoolean, String, RectangleF, Boolean, Boolean, Int32, AOIMatrixSize, Boolean, Boolean, Int32, Boolean, IPCBIWindowProgressChanged) Method

A seperate licence is necessary to use AOI! Creates a Bitmap from all layer in LayerList.

Definition

Namespace: PCBI.Automation.Interfaces
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
bool AOIHighResolutionBMPExport(
	List<IODBLayer> LayerList,
	List<bool> ColorList,
	string FullPath,
	RectangleF ClippingRectangle,
	bool AntiAlias,
	bool DrawProfil,
	int DPI,
	AOIMatrixSize InternalMatrixSize,
	bool UseMultyThreading,
	bool InvertImageColors,
	out int imageSizeModification,
	bool DrawSurfaceFrame = false,
	IPCBIWindowProgressChanged onProgressChanged = null
)

Parameters

LayerList  ListIODBLayer
all layer to draw
ColorList  ListBoolean
true = white, false = black for each layer
FullPath  String
the filename ending with .bmp (or .tif if AntiAlias=false)
ClippingRectangle  RectangleF
the relevante area
AntiAlias  Boolean
true create a 8-bit image, false a 1-bit image
DrawProfil  Boolean
if you want to draw the stepprofil
DPI  Int32
dots per inch
InternalMatrixSize  AOIMatrixSize
middle for a 32-bit system with less then 4 GB RAM
UseMultyThreading  Boolean
true if you want to use more then one thread
InvertImageColors  Boolean
true if the colors should be changed
imageSizeModification  Int32
If size of image are modified it returns a Positive value
DrawSurfaceFrame  Boolean  (Optional)
Internal Draw method of surfaces fill them by rounding down the edges, by setting this value it will round up by unodd values.
onProgressChanged  IPCBIWindowProgressChanged  (Optional)
Function Pointer to get current prozess state in PerCent

Return Value

Boolean
True if its work, else check the IAutomation.ErrorLog

See Also