InterfaceStepAOIHighResolutionMemoryExport(MemoryStream, InterfaceCMPLayer, RectangleD, Int32, Boolean, Color, Int32, Int32, IPCBIWindowProgressChanged) Method
A seperate licence is necessary to use AOI!
Fills the MemoryStream with rgb image data (3 bytes/pixel). Layer-Color is used.
Components are drawn with a filled body, without pins and without any label
Namespace: PCBI.Automation.InterfacesAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
bool AOIHighResolutionMemoryExport(
ref MemoryStream ms,
InterfaceCMPLayer Layer,
RectangleD ClippingRectangle,
int DPI,
bool drawOnlySelected,
Color BackColor,
out int widthPx,
out int heightPx,
IPCBIWindowProgressChanged onProgressChanged = null
)
Function AOIHighResolutionMemoryExport (
ByRef ms As MemoryStream,
Layer As InterfaceCMPLayer,
ClippingRectangle As RectangleD,
DPI As Integer,
drawOnlySelected As Boolean,
BackColor As Color,
<OutAttribute> ByRef widthPx As Integer,
<OutAttribute> ByRef heightPx As Integer,
Optional onProgressChanged As IPCBIWindowProgressChanged = Nothing
) As Boolean
bool AOIHighResolutionMemoryExport(
MemoryStream^% ms,
InterfaceCMPLayer^ Layer,
RectangleD ClippingRectangle,
int DPI,
bool drawOnlySelected,
Color BackColor,
[OutAttribute] int% widthPx,
[OutAttribute] int% heightPx,
IPCBIWindowProgressChanged^ onProgressChanged = nullptr
)
abstract AOIHighResolutionMemoryExport :
ms : MemoryStream byref *
Layer : InterfaceCMPLayer *
ClippingRectangle : RectangleD *
DPI : int *
drawOnlySelected : bool *
BackColor : Color *
widthPx : int byref *
heightPx : int byref *
?onProgressChanged : IPCBIWindowProgressChanged
(* Defaults:
let _onProgressChanged = defaultArg onProgressChanged null
*)
-> bool
- ms MemoryStream
- Memorystream where data is written to
- Layer InterfaceCMPLayer
- Layer to draw
- ClippingRectangle RectangleD
- the relevante area
- DPI Int32
- dots per inch
- drawOnlySelected Boolean
- Export only selected object to the Bitmap
- BackColor Color
- Background Color
- widthPx Int32
- out Width of image in Pixel
- heightPx Int32
- out Height of image in Pixel
- onProgressChanged IPCBIWindowProgressChanged (Optional)
- Function Pointer to get current prozess state in PerCent
BooleanTrue if its work, else check the IAutomation.ErrorLog