←Select platform

SearchRegistrationMarksCommandData Constructor(int,int,int,int,LeadRect,int,LeadPoint[],RegistrationMarkCommandType)

Summary

Initializes a new SearchRegistrationMarksCommandData class object with explicit parameters.

Syntax

C#
VB
Java
Objective-C
C++
Public Function New( _ 
   ByVal width As Integer, _ 
   ByVal height As Integer, _ 
   ByVal minimumScale As Integer, _ 
   ByVal maximumScale As Integer, _ 
   ByVal rectangle As Leadtools.LeadRect, _ 
   ByVal searchMarkCount As Integer, _ 
   ByVal markDetectedPoints() As Leadtools.LeadPoint, _ 
   ByVal type As Leadtools.Imageprocessing.Core.RegistrationMarkCommandType _ 
) 
- (instancetype)initWithWidth:(NSUInteger)width 
                       height:(NSUInteger)height 
                 minimumScale:(NSUInteger)minimumScale 
                 maximumScale:(NSUInteger)maximumScale 
                    rectangle:(LeadRect)rectangle 
              searchMarkCount:(NSUInteger)searchMarkCount 
           markDetectedPoints:(NSArray<NSValue *> *)markDetectedPoints 
                         type:(LTRegistrationMarkCommandType)type 
             
public SearchRegistrationMarksCommandData( 
   int width,  
   int height,  
   int minimumScale,  
   int maximumScale,  
   LeadRect rectangle,  
   int searchMarkCount,  
   LeadPoint[] markDetectedPoints,  
   RegistrationMarkCommandType type 
) 
             

Parameters

width
Registration mark width, in pixels. This parameter accepts only positive values.

height
Registration mark height, in pixels. This parameter accepts only positive values.

minimumScale
Minimum registration mark scale to be detected. This is a percentage. It must not exceed maximumScale. This parameter accepts only positive values.

maximumScale
Maximum registration mark scale to be detected. This is a percentage. It must not be lower than minimumScale. This parameter accepts only positive values.

rectangle
The area to be searched for registration marks (in pixels).

searchMarkCount
Number of registration marks expected inside the search area. This parameter accepts only positive values.

markDetectedPoints
Array to be filled with the location points of the detected registration marks. SearchRegistrationMarksCommand will fill the first MarkDetectedCount elements in this array.

type
Registration mark type.

Requirements

Target Platforms

Help Version 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Core Assembly