Exemple #1
0
 public static StartupInput GetDefaultStartupInput()
 {
   StartupInput result = new StartupInput();
   result.GdiplusVersion = 1;
   result.SuppressBackgroundThread = false;
   result.SuppressExternalCodecs = false;
   return result;
 }
Exemple #2
0
 private static extern int GdiplusStartup(out IntPtr token, ref StartupInput input, out StartupOutput output);
Exemple #3
0
                public bool SuppressExternalCodecs;       // FALSE unless you want GDI+ only to use
                // its internal image codecs.

                public static StartupInput GetDefault() {
                    StartupInput result = new StartupInput();
                    result.GdiplusVersion = 1;
                    // result.DebugEventCallback = null;
                    result.SuppressBackgroundThread = false;
                    result.SuppressExternalCodecs  = false;
                    return result;
                }