IAutomationCompareLayers(IPCBIWindow, ILayer, IPCBIWindow, ILayer, IPCBIWindow, Boolean, RectangleF, Boolean) Method
Compare to layers grahicly, internal it will be create two images of the layers and compare on 5 µm.
Namespace: PCBI.AutomationAssembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
public static bool CompareLayers(
IPCBIWindow OutputWindow,
ILayer layer1,
IPCBIWindow Parent1,
ILayer layer2,
IPCBIWindow Parent2,
bool CreateComparResultLayer,
RectangleF screenRect,
bool checkPrecision
)
Public Shared Function CompareLayers (
OutputWindow As IPCBIWindow,
layer1 As ILayer,
Parent1 As IPCBIWindow,
layer2 As ILayer,
Parent2 As IPCBIWindow,
CreateComparResultLayer As Boolean,
screenRect As RectangleF,
checkPrecision As Boolean
) As Boolean
public:
static bool CompareLayers(
IPCBIWindow^ OutputWindow,
ILayer^ layer1,
IPCBIWindow^ Parent1,
ILayer^ layer2,
IPCBIWindow^ Parent2,
bool CreateComparResultLayer,
RectangleF screenRect,
bool checkPrecision
)
static member CompareLayers :
OutputWindow : IPCBIWindow *
layer1 : ILayer *
Parent1 : IPCBIWindow *
layer2 : ILayer *
Parent2 : IPCBIWindow *
CreateComparResultLayer : bool *
screenRect : RectangleF *
checkPrecision : bool -> bool
- OutputWindow IPCBIWindow
- The job window, for the output.
- layer1 ILayer
- The layer from the first job.
- Parent1 IPCBIWindow
- The parent window from the first job.
- layer2 ILayer
- The layer from the second job.
- Parent2 IPCBIWindow
- The parent window from the second job.
- CreateComparResultLayer Boolean
- Create an layer with small rectangle areas to mark the different regions.
- screenRect RectangleF
- The relevant area.
- checkPrecision Boolean
- It will be more accurate if true.
Booleantrue if the layers have the same visual nature.