InterfaceStepAOIHighResolutionBMPExport(ListInterfaceODBLayer, ListBoolean, String, RectangleF, Boolean, Boolean, Int32, AOIMatrixSize, Boolean, Boolean, Int32, Boolean, Boolean, IPCBIWindowProgressChanged, Int32, Int32) Method
A seperate licence is necessary to use AOI!
Creates a Bitmap from all layer in LayerList.
Namespace: PCBI.Automation.InterfacesAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
bool AOIHighResolutionBMPExport(
List<InterfaceODBLayer> LayerList,
List<bool> ColorList,
string FullPath,
RectangleF ClippingRectangle,
bool AntiAlias,
bool DrawProfil,
int DPI,
AOIMatrixSize InternalMatrixSize,
bool UseMultyThreading,
bool InvertImageColors,
out int imageSizeModification,
bool drawOnlySelected,
bool DrawSurfaceFrame,
IPCBIWindowProgressChanged onProgressChanged = null,
int MatrixSizeIndividual = 10000,
int MaximumTheadCount = -1
)
Function AOIHighResolutionBMPExport (
LayerList As List(Of InterfaceODBLayer),
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,
drawOnlySelected As Boolean,
DrawSurfaceFrame As Boolean,
Optional onProgressChanged As IPCBIWindowProgressChanged = Nothing,
Optional MatrixSizeIndividual As Integer = 10000,
Optional MaximumTheadCount As Integer = -1
) As Boolean
bool AOIHighResolutionBMPExport(
List<InterfaceODBLayer^>^ LayerList,
List<bool>^ ColorList,
String^ FullPath,
RectangleF ClippingRectangle,
bool AntiAlias,
bool DrawProfil,
int DPI,
AOIMatrixSize InternalMatrixSize,
bool UseMultyThreading,
bool InvertImageColors,
[OutAttribute] int% imageSizeModification,
bool drawOnlySelected,
bool DrawSurfaceFrame,
IPCBIWindowProgressChanged^ onProgressChanged = nullptr,
int MatrixSizeIndividual = 10000,
int MaximumTheadCount = -1
)
abstract AOIHighResolutionBMPExport :
LayerList : List<InterfaceODBLayer> *
ColorList : List<bool> *
FullPath : string *
ClippingRectangle : RectangleF *
AntiAlias : bool *
DrawProfil : bool *
DPI : int *
InternalMatrixSize : AOIMatrixSize *
UseMultyThreading : bool *
InvertImageColors : bool *
imageSizeModification : int byref *
drawOnlySelected : bool *
DrawSurfaceFrame : bool *
?onProgressChanged : IPCBIWindowProgressChanged *
?MatrixSizeIndividual : int *
?MaximumTheadCount : int
(* Defaults:
let _onProgressChanged = defaultArg onProgressChanged null
let _MatrixSizeIndividual = defaultArg MatrixSizeIndividual 10000
let _MaximumTheadCount = defaultArg MaximumTheadCount -1
*)
-> bool
- LayerList ListInterfaceODBLayer
- 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
- drawOnlySelected Boolean
- Export only selected object to the Bitmap
- DrawSurfaceFrame Boolean
- 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
- MatrixSizeIndividual Int32 (Optional)
- MatrixSizeIndividual is only used with AOIMatrixSize.Individual. This is special for using your own value for building stripes and creation images.
- MaximumTheadCount Int32 (Optional)
- Maximum Thread count for parallel working, if negative it uses processor count or one for no multy threading.
BooleanTrue if its work, else check the IAutomation.ErrorLog