public static double GetArea(IntPtr instance)
{
#if ANYCPU
if (NativeLibrary.Is64Bit)
#endif
#if WIN64 || ANYCPU
return NativeMethods.X64.ConnectedComponent_GetArea(instance);
#endif
#if ANYCPU
else
#endif
#if !WIN64 || ANYCPU
return NativeMethods.X86.ConnectedComponent_GetArea(instance);
#endif
}
public static int GetHeight(IntPtr instance)