public static D2D1Factory Create(D2D1FactoryType factoryType, D2D1DebugLevel debugLevel)
        {
            D2D1FactoryOptions factoryOptions = new D2D1FactoryOptions();

            factoryOptions.DebugLevel = debugLevel;
            return(D2D1Factory.Create(factoryType, factoryOptions));
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="D2D1FactoryOptions"/> struct.
 /// </summary>
 /// <param name="debugLevel">The level of debugging information.</param>
 public D2D1FactoryOptions(D2D1DebugLevel debugLevel)
 {
     this.debugLevel = debugLevel;
 }
 public static D2D1Factory Create(D2D1FactoryType factoryType, D2D1DebugLevel debugLevel)
 {
     D2D1FactoryOptions factoryOptions = new D2D1FactoryOptions();
     factoryOptions.DebugLevel = debugLevel;
     return D2D1Factory.Create(factoryType, factoryOptions);
 }