InterfaceStepAOIHighResolutionTIFExport(ListIODBLayer, ListBoolean, String, RectangleD, Int32, AOIMatrixSize, Int32, Boolean, Boolean, Int32, Int32, IPCBIWindowProgressChanged) Method
A seperate licence is necessary to use AOI!
Creates a TIF from all layer in LayerList.
Namespace: PCBI.Automation.InterfacesAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
bool AOIHighResolutionTIFExport(
List<IODBLayer> LayerList,
List<bool> ColorList,
string FullPath,
RectangleD ClippingRectangle,
int DPI,
AOIMatrixSize InternalMatrixSize,
int MaxThreadCount,
bool drawOnlySelected,
bool InvertImageColors,
int TifTagPhotometric = 1,
int TifTagOrientation = 4,
IPCBIWindowProgressChanged onProgressChanged = null
)
Function AOIHighResolutionTIFExport (
LayerList As List(Of IODBLayer),
ColorList As List(Of Boolean),
FullPath As String,
ClippingRectangle As RectangleD,
DPI As Integer,
InternalMatrixSize As AOIMatrixSize,
MaxThreadCount As Integer,
drawOnlySelected As Boolean,
InvertImageColors As Boolean,
Optional TifTagPhotometric As Integer = 1,
Optional TifTagOrientation As Integer = 4,
Optional onProgressChanged As IPCBIWindowProgressChanged = Nothing
) As Boolean
bool AOIHighResolutionTIFExport(
List<IODBLayer^>^ LayerList,
List<bool>^ ColorList,
String^ FullPath,
RectangleD ClippingRectangle,
int DPI,
AOIMatrixSize InternalMatrixSize,
int MaxThreadCount,
bool drawOnlySelected,
bool InvertImageColors,
int TifTagPhotometric = 1,
int TifTagOrientation = 4,
IPCBIWindowProgressChanged^ onProgressChanged = nullptr
)
abstract AOIHighResolutionTIFExport :
LayerList : List<IODBLayer> *
ColorList : List<bool> *
FullPath : string *
ClippingRectangle : RectangleD *
DPI : int *
InternalMatrixSize : AOIMatrixSize *
MaxThreadCount : int *
drawOnlySelected : bool *
InvertImageColors : bool *
?TifTagPhotometric : int *
?TifTagOrientation : int *
?onProgressChanged : IPCBIWindowProgressChanged
(* Defaults:
let _TifTagPhotometric = defaultArg TifTagPhotometric 1
let _TifTagOrientation = defaultArg TifTagOrientation 4
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 RectangleD
- the relevante area
- DPI Int32
- dots per inch
- InternalMatrixSize AOIMatrixSize
- middle for a 32-bit system with less then 4 GB RAM
- MaxThreadCount Int32
- Max amount of parallel working Threads (from 1 to ProzessorCount)
- drawOnlySelected Boolean
- Export only selected object to the Bitmap
- InvertImageColors Boolean
- true if the colors should be changed
- TifTagPhotometric Int32 (Optional)
- Photometric value MINISWHITE=0 or MINISBLACK=1
- TifTagOrientation Int32 (Optional)
- Orientation (1-8)
- onProgressChanged IPCBIWindowProgressChanged (Optional)
- Function Pointer to get current prozess state in PerCent
BooleanTrue if its work, else check the IAutomation.ErrorLog