IStepAOIHighResolutionBMPExport(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.
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public 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
)
Public Function AOIHighResolutionBMPExport (
LayerList As List(Of IODBLayer),
ColorList As List(Of Boolean),
FullPath As String,
ClippingRectangle As RectangleF,
AntiAlias As Boolean,
DrawProfil As Boolean,
DPI As Integer,
InternalMatrixSize As AOIMatrixSize,
UseMultyThreading As Boolean,
InvertImageColors As Boolean,
<OutAttribute> ByRef imageSizeModification As Integer,
Optional DrawSurfaceFrame As Boolean = false,
Optional onProgressChanged As IPCBIWindowProgressChanged = Nothing
) As Boolean
public:
virtual bool AOIHighResolutionBMPExport(
List<IODBLayer^>^ LayerList,
List<bool>^ ColorList,
String^ FullPath,
RectangleF ClippingRectangle,
bool AntiAlias,
bool DrawProfil,
int DPI,
AOIMatrixSize InternalMatrixSize,
bool UseMultyThreading,
bool InvertImageColors,
[OutAttribute] int% imageSizeModification,
bool DrawSurfaceFrame = false,
IPCBIWindowProgressChanged^ onProgressChanged = nullptr
) sealed
abstract AOIHighResolutionBMPExport :
LayerList : List<IODBLayer> *
ColorList : List<bool> *
FullPath : string *
ClippingRectangle : RectangleF *
AntiAlias : bool *
DrawProfil : bool *
DPI : int *
InternalMatrixSize : AOIMatrixSize *
UseMultyThreading : bool *
InvertImageColors : bool *
imageSizeModification : int byref *
?DrawSurfaceFrame : bool *
?onProgressChanged : IPCBIWindowProgressChanged
(* Defaults:
let _DrawSurfaceFrame = defaultArg DrawSurfaceFrame false
let _onProgressChanged = defaultArg onProgressChanged null
*)
-> bool
override AOIHighResolutionBMPExport :
LayerList : List<IODBLayer> *
ColorList : List<bool> *
FullPath : string *
ClippingRectangle : RectangleF *
AntiAlias : bool *
DrawProfil : bool *
DPI : int *
InternalMatrixSize : AOIMatrixSize *
UseMultyThreading : bool *
InvertImageColors : bool *
imageSizeModification : int byref *
?DrawSurfaceFrame : bool *
?onProgressChanged : IPCBIWindowProgressChanged
(* Defaults:
let _DrawSurfaceFrame = defaultArg DrawSurfaceFrame false
let _onProgressChanged = defaultArg onProgressChanged null
*)
-> bool
- 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
BooleanTrue if its work, else check the IAutomation.ErrorLog
InterfaceStepAOIHighResolutionBMPExport(ListIODBLayer, ListBoolean, String, RectangleF, Boolean, Boolean, Int32, AOIMatrixSize, Boolean, Boolean, Int32, Boolean, IPCBIWindowProgressChanged)