Enumeration as return type of a function

Last Reply on Jun 30, 2012 11:31 AM By Mudassar

Posted on Jun 30, 2012 07:06 AM

This is a class having enumeration... there is one function with return time enumeration...
I want to access this method on a button's click event... how do I call this function.. and in which type of variable I retrieve the result???
Please guide me...
Thanks in advance!


public class ComparingImages
        public enum CompareResult

        public static CompareResult Compare(Bitmap bmp1, Bitmap bmp2)
            return cr;


Posted on Jun 30, 2012 11:31 AM

Sorry my mistake

call it as following

ComparingImages.Compare(a, b)

I agree, here is the link: https://www.e-iceblue.com/Introduce/spire-office-for-net-free.html