'Declaration Public Function New( _ ByVal horizontalActive As Boolean, _ ByVal horizontalAddOnly As Boolean, _ ByVal horizontalCentralFocus As Boolean, _ ByVal horizontalIgnoreHoles As Boolean, _ ByVal horizontalMinActivity As Integer, _ ByVal horizontalMinBackground As Integer, _ ByVal horizontalMinForeground As Integer, _ ByVal horizontalResultantMargin As Integer, _ ByVal horizontalSkipActive As Boolean, _ ByVal horizontalSkipDistance As Integer, _ ByVal horizontalToLineActive As Boolean, _ ByVal horizontalToLineCheckThinLinesActive As Boolean, _ ByVal horizontalToLineMaxLineGap As Integer, _ ByVal horizontalToLineMaxLineThickness As Integer, _ ByVal horizontalToLineMinLineLength As Integer, _ ByVal verticalActive As Boolean, _ ByVal verticalAddOnly As Boolean, _ ByVal verticalCentralFocus As Boolean, _ ByVal verticalMinActivity As Integer, _ ByVal verticalMinBackground As Integer, _ ByVal verticalMinForeground As Integer, _ ByVal verticalResultantMargin As Integer, _ ByVal verticalSkipActive As Boolean, _ ByVal verticalSkipDistance As Integer, _ ByVal verticalToLineActive As Boolean, _ ByVal verticalToLineCheckThinLinesActive As Boolean, _ ByVal verticalToLineMaxLineGap As Integer, _ ByVal verticalToLineMaxLineThickness As Integer, _ ByVal verticalToLineMinLineLength As Integer _ )
'Usage Dim horizontalActive As Boolean Dim horizontalAddOnly As Boolean Dim horizontalCentralFocus As Boolean Dim horizontalIgnoreHoles As Boolean Dim horizontalMinActivity As Integer Dim horizontalMinBackground As Integer Dim horizontalMinForeground As Integer Dim horizontalResultantMargin As Integer Dim horizontalSkipActive As Boolean Dim horizontalSkipDistance As Integer Dim horizontalToLineActive As Boolean Dim horizontalToLineCheckThinLinesActive As Boolean Dim horizontalToLineMaxLineGap As Integer Dim horizontalToLineMaxLineThickness As Integer Dim horizontalToLineMinLineLength As Integer Dim verticalActive As Boolean Dim verticalAddOnly As Boolean Dim verticalCentralFocus As Boolean Dim verticalMinActivity As Integer Dim verticalMinBackground As Integer Dim verticalMinForeground As Integer Dim verticalResultantMargin As Integer Dim verticalSkipActive As Boolean Dim verticalSkipDistance As Integer Dim verticalToLineActive As Boolean Dim verticalToLineCheckThinLinesActive As Boolean Dim verticalToLineMaxLineGap As Integer Dim verticalToLineMaxLineThickness As Integer Dim verticalToLineMinLineLength As Integer Dim instance As New ImageRegistrationOptions(horizontalActive, horizontalAddOnly, horizontalCentralFocus, horizontalIgnoreHoles, horizontalMinActivity, horizontalMinBackground, horizontalMinForeground, horizontalResultantMargin, horizontalSkipActive, horizontalSkipDistance, horizontalToLineActive, horizontalToLineCheckThinLinesActive, horizontalToLineMaxLineGap, horizontalToLineMaxLineThickness, horizontalToLineMinLineLength, verticalActive, verticalAddOnly, verticalCentralFocus, verticalMinActivity, verticalMinBackground, verticalMinForeground, verticalResultantMargin, verticalSkipActive, verticalSkipDistance, verticalToLineActive, verticalToLineCheckThinLinesActive, verticalToLineMaxLineGap, verticalToLineMaxLineThickness, verticalToLineMinLineLength)
public ImageRegistrationOptions( bool horizontalActive, bool horizontalAddOnly, bool horizontalCentralFocus, bool horizontalIgnoreHoles, int horizontalMinActivity, int horizontalMinBackground, int horizontalMinForeground, int horizontalResultantMargin, bool horizontalSkipActive, int horizontalSkipDistance, bool horizontalToLineActive, bool horizontalToLineCheckThinLinesActive, int horizontalToLineMaxLineGap, int horizontalToLineMaxLineThickness, int horizontalToLineMinLineLength, bool verticalActive, bool verticalAddOnly, bool verticalCentralFocus, int verticalMinActivity, int verticalMinBackground, int verticalMinForeground, int verticalResultantMargin, bool verticalSkipActive, int verticalSkipDistance, bool verticalToLineActive, bool verticalToLineCheckThinLinesActive, int verticalToLineMaxLineGap, int verticalToLineMaxLineThickness, int verticalToLineMinLineLength )
public: ImageRegistrationOptions( bool horizontalActive, bool horizontalAddOnly, bool horizontalCentralFocus, bool horizontalIgnoreHoles, int horizontalMinActivity, int horizontalMinBackground, int horizontalMinForeground, int horizontalResultantMargin, bool horizontalSkipActive, int horizontalSkipDistance, bool horizontalToLineActive, bool horizontalToLineCheckThinLinesActive, int horizontalToLineMaxLineGap, int horizontalToLineMaxLineThickness, int horizontalToLineMinLineLength, bool verticalActive, bool verticalAddOnly, bool verticalCentralFocus, int verticalMinActivity, int verticalMinBackground, int verticalMinForeground, int verticalResultantMargin, bool verticalSkipActive, int verticalSkipDistance, bool verticalToLineActive, bool verticalToLineCheckThinLinesActive, int verticalToLineMaxLineGap, int verticalToLineMaxLineThickness, int verticalToLineMinLineLength )
public: ImageRegistrationOptions( bool horizontalActive, bool horizontalAddOnly, bool horizontalCentralFocus, bool horizontalIgnoreHoles, int horizontalMinActivity, int horizontalMinBackground, int horizontalMinForeground, int horizontalResultantMargin, bool horizontalSkipActive, int horizontalSkipDistance, bool horizontalToLineActive, bool horizontalToLineCheckThinLinesActive, int horizontalToLineMaxLineGap, int horizontalToLineMaxLineThickness, int horizontalToLineMinLineLength, bool verticalActive, bool verticalAddOnly, bool verticalCentralFocus, int verticalMinActivity, int verticalMinBackground, int verticalMinForeground, int verticalResultantMargin, bool verticalSkipActive, int verticalSkipDistance, bool verticalToLineActive, bool verticalToLineCheckThinLinesActive, int verticalToLineMaxLineGap, int verticalToLineMaxLineThickness, int verticalToLineMinLineLength )
Parameters
- horizontalActive
- A flag that enables registration of the left edge of the text.
- horizontalAddOnly
- A flag that indicates whether any pixels will be removed during horizontal registration
- horizontalCentralFocus
- A flag that indicates whether the middle portion of the image border will be used for registration, ignoring edge noise, letterheads, and logos.
- horizontalIgnoreHoles
- A flag that indicates whether binder holes and other left-edge noise are ignored during horizontal registration.
- horizontalMinActivity
- A value that controls how intense the activity has to be for it to be considered real activity.
- horizontalMinBackground
- A value that controls how dense and consistent image data should be for it to be considered edge noise.
- horizontalMinForeground
- A value that controls how much activity determines what is valid data.
- horizontalResultantMargin
- A value that indicates how many pixels will remain as a left margin after processing.
- horizontalSkipActive
- A flag that indicates whether a set number of scan lines will be skipped before the toolkit starts looking for valid information for registration.
- horizontalSkipDistance
- A flag that indicates whether a set number of scan lines will be skipped before the toolkit starts looking for valid information for registration.
- horizontalToLineActive
- A flag that indicates whether the component will position the text in the image based on the position of a vertical line, or to what is determined to be the edge of the text.
- horizontalToLineCheckThinLinesActive
- A flag that indicates the vertical line to register to is very thin (1 or 2 pixels) when HorizontalToLineActive is true, otherwise this value is ignored.
- horizontalToLineMaxLineGap
- A value that indicates the maximum allowable size (in pixels) of gaps within the vertical line to register to.
- horizontalToLineMaxLineThickness
- A value that indicates the maximum allowable width (in pixels) of the vertical line to register to.
- horizontalToLineMinLineLength
- A value that indicates the minimum allowable length (in pixels) of the vertical line to register to.
- verticalActive
- A flag that enables registration of the top edge of the text.
- verticalAddOnly
- A flag that indicates whether any pixels will be removed during vertical registration, even if the desired margin is smaller than the existing margin.
- verticalCentralFocus
- A flag that indicates whether the middle portion of the image border will be used for registration, ignoring edge noise, letterheads, and logos.
- verticalMinActivity
- A value that controls how intense the activity has to be for it to be considered real activity.
- verticalMinBackground
- A value that controls how dense and consistent image data should be for it to be considered edge noise.
- verticalMinForeground
- A value that controls how much activity determines what is valid data.
- verticalResultantMargin
- A value that indicates how many pixels will remain as a top margin after processing.
- verticalSkipActive
- A flag that indicates whether a set number of scan lines will be skipped before the toolkit starts looking for valid information for registration.
- verticalSkipDistance
- A value that indicates how many horizontal scan lines will be skipped if VerticalSkipActive is true, otherwise this value is ignored.
- verticalToLineActive
- A flag that indicates whether the component will position the text in the image based on the position of a horizontal line, or to what is determined to be the edge of the text.
- verticalToLineCheckThinLinesActive
- A flag that indicates the horizontal line to register to is very thin (1 or 2 pixels) when VerticalToLineActive is true, otherwise this value is ignored.
- verticalToLineMaxLineGap
- A value that indicates the maximum allowable size (in pixels) of gaps within the horizontal line to register to.
- verticalToLineMaxLineThickness
- A value that indicates the maximum allowable size (in pixels) of gaps within the horizontal line to register to.
- verticalToLineMinLineLength
- A value that indicates the maximum allowable width (in pixels) of the horizontal line to register to.