Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / LinePattern Class / CheckPattern Method

In This Topic
    CheckPattern Method
    In This Topic
    Checks if the pattern has: more than one value, alternate sign for penDown/penUp or values are not all zero.
    Syntax
    'Declaration
     
    Public Shared Function CheckPattern( _
       ByVal pattern() As Single, _
       ByVal throwEx As Boolean, _
       ByRef sum As Single _
    ) As Boolean
    public static bool CheckPattern( 
       float[] pattern,
       bool throwEx,
       out float sum
    )

    Parameters

    pattern
    throwEx
    sum
    Remarks
    A null pattern or a pattern with 0 elements means that the line is continuous.
    See Also