ImageMagick.DrawingWand.NativeDrawingWand.FontFamily C# (CSharp) Метод

FontFamily() публичный Метод

public FontFamily ( string family, FontStyleType style, FontWeight weight, FontStretch stretch ) : void
family string
style FontStyleType
weight FontWeight
stretch FontStretch
Результат void
      public void FontFamily(string family, FontStyleType style, FontWeight weight, FontStretch stretch)
      {
        using (INativeInstance familyNative = UTF8Marshaler.CreateInstance(family))
        {
          IntPtr exception = IntPtr.Zero;
          #if ANYCPU
          if (NativeLibrary.Is64Bit)
          #endif
          #if WIN64 || ANYCPU
          NativeMethods.X64.DrawingWand_FontFamily(Instance, familyNative.Instance, (UIntPtr)style, (UIntPtr)weight, (UIntPtr)stretch, out exception);
          #endif
          #if ANYCPU
          else
          #endif
          #if !WIN64 || ANYCPU
          NativeMethods.X86.DrawingWand_FontFamily(Instance, familyNative.Instance, (UIntPtr)style, (UIntPtr)weight, (UIntPtr)stretch, out exception);
          #endif
          CheckException(exception);
        }
      }
      public void FontPointSize(double value)