LEADTOOLS Image Processing (Leadtools.ImageProcessing.Core assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
SearchRegistrationMarksCommandData Constructor(Int32,Int32,Int32,Int32,LeadRect,Int32,LeadPoint[],RegistrationMarkCommandType)
See Also 
Leadtools.ImageProcessing.Core Namespace > SearchRegistrationMarksCommandData Class > SearchRegistrationMarksCommandData Constructor : SearchRegistrationMarksCommandData Constructor(Int32,Int32,Int32,Int32,LeadRect,Int32,LeadPoint[],RegistrationMarkCommandType)



width
Registration mark width, in pixels. This parameter only accepts positive values.
height
Registration mark height, in pixels. This parameter only accepts positive values.
minimumScale
Minimum registration mark scale to be detected. This is a percentage. It must not exceed maximumScale. This parameter only accepts positive values.
maximumScale
Maximum registration mark scale to be detected. This is a percentage. It must not be lower than minimumScale. This parameter only accepts 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 only accepts 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.
Initializes a new SearchRegistrationMarksCommandData class object with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal minimumScale As Integer, _
   ByVal maximumScale As Integer, _
   ByVal rectangle As LeadRect, _
   ByVal searchMarkCount As Integer, _
   ByVal markDetectedPoints() As LeadPoint, _
   ByVal type As RegistrationMarkCommandType _
)
Visual Basic (Usage)Copy Code
Dim width As Integer
Dim height As Integer
Dim minimumScale As Integer
Dim maximumScale As Integer
Dim rectangle As LeadRect
Dim searchMarkCount As Integer
Dim markDetectedPoints() As LeadPoint
Dim type As RegistrationMarkCommandType
 
Dim instance As New SearchRegistrationMarksCommandData(width, height, minimumScale, maximumScale, rectangle, searchMarkCount, markDetectedPoints, type)
C# 
public SearchRegistrationMarksCommandData( 
   int width,
   int height,
   int minimumScale,
   int maximumScale,
   LeadRect rectangle,
   int searchMarkCount,
   LeadPoint[] markDetectedPoints,
   RegistrationMarkCommandType type
)
C++/CLI 
public:
SearchRegistrationMarksCommandData( 
   int width,
   int height,
   int minimumScale,
   int maximumScale,
   LeadRect rectangle,
   int searchMarkCount,
   array<LeadPoint>^ markDetectedPoints,
   RegistrationMarkCommandType type
)

Parameters

width
Registration mark width, in pixels. This parameter only accepts positive values.
height
Registration mark height, in pixels. This parameter only accepts positive values.
minimumScale
Minimum registration mark scale to be detected. This is a percentage. It must not exceed maximumScale. This parameter only accepts positive values.
maximumScale
Maximum registration mark scale to be detected. This is a percentage. It must not be lower than minimumScale. This parameter only accepts 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 only accepts 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.

Example

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also