ImageMagick.DrawingWand.NativeDrawingWand.Font C# (CSharp) Method

Font() public method

public Font ( string fontName ) : void
fontName string
return void
      public void Font(string fontName)
      {
        using (INativeInstance fontNameNative = UTF8Marshaler.CreateInstance(fontName))
        {
          IntPtr exception = IntPtr.Zero;
          #if ANYCPU
          if (NativeLibrary.Is64Bit)
          #endif
          #if WIN64 || ANYCPU
          NativeMethods.X64.DrawingWand_Font(Instance, fontNameNative.Instance, out exception);
          #endif
          #if ANYCPU
          else
          #endif
          #if !WIN64 || ANYCPU
          NativeMethods.X86.DrawingWand_Font(Instance, fontNameNative.Instance, out exception);
          #endif
          CheckException(exception);
        }
      }
      public void FontFamily(string family, FontStyleType style, FontWeight weight, FontStretch stretch)