
SrcLayer source matrix layer grObject closed graphic object (polygon, rectangle or circle) bUndo Whether to support undo(TRUE) or not (FALSE). For information about plugins for other types of SSM documents, see Systems Manager Command document plugin reference.

These actions can't be used in other types of Systems Manager (SSM) documents. normal GDI StretchBlt() to do this, but the quality is rather bad compared to what GDI+ can do. Automation is a capability of AWS Systems Manager. Syntax BOOL CopyImage ( MatrixLayer SrcLayer, int left, int top, int right, int bottom, BOOL bUndo = TRUE )īOOL CopyImage ( MatrixLayer SrcLayer, GraphObject grObject, BOOL bUndo = TRUE ) Parameters SrcLayer Source matrix layer left Rectangle left position in the source matrix layer to copy image from top Rectangle top position in the source matrix layer to copy image from right Rectangle right position in the source matrix layer to copy image from bottom Rectangle bottom position in the source matrix layer to copy image from bUndo Whether to support undo(TRUE) or not (FALSE). This reference describes the Automation actions that you can specify in an Automation runbook. But I would say BitBlt should be faster than StretchDIBits because former does not resize image, so it needs to do less/simpler operations when its blitting. I would be pretty surprised if that would be faster than allocating memory yourself. It copies only the part of image in source matrix layer that is within grObject CreateDibSection + BitBlt vs StretchDIBits.


Copies part of an image from another matrix layerĬopies part of image from another matrix layer
