IStepAOIHighResolutionMemoryExport(MemoryStream, ICMPLayer, 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.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public bool AOIHighResolutionMemoryExport(
ref MemoryStream ms,
ICMPLayer Layer,
RectangleD ClippingRectangle,
int DPI,
bool drawOnlySelected,
Color BackColor,
out int widthPx,
out int heightPx,
IPCBIWindowProgressChanged onProgressChanged = null
)
Public Function AOIHighResolutionMemoryExport (
ByRef ms As MemoryStream,
Layer As ICMPLayer,
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
public:
virtual bool AOIHighResolutionMemoryExport(
MemoryStream^% ms,
ICMPLayer^ Layer,
RectangleD ClippingRectangle,
int DPI,
bool drawOnlySelected,
Color BackColor,
[OutAttribute] int% widthPx,
[OutAttribute] int% heightPx,
IPCBIWindowProgressChanged^ onProgressChanged = nullptr
) sealed
abstract AOIHighResolutionMemoryExport :
ms : MemoryStream byref *
Layer : ICMPLayer *
ClippingRectangle : RectangleD *
DPI : int *
drawOnlySelected : bool *
BackColor : Color *
widthPx : int byref *
heightPx : int byref *
?onProgressChanged : IPCBIWindowProgressChanged
(* Defaults:
let _onProgressChanged = defaultArg onProgressChanged null
*)
-> bool
override AOIHighResolutionMemoryExport :
ms : MemoryStream byref *
Layer : ICMPLayer *
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 ICMPLayer
- 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
InterfaceStepAOIHighResolutionMemoryExport(MemoryStream, ICMPLayer, RectangleD, Int32, Boolean, Color, Int32, Int32, IPCBIWindowProgressChanged)