public void SetOutputChannel(ColorChannelFlag flags, ColorAdjustType type)
        {
            int status = SafeNativeMethods.Gdip.GdipSetImageAttributesOutputChannel(new HandleRef(this, this.nativeImageAttributes), type, true, flags);

            if (status != 0)
            {
                throw SafeNativeMethods.Gdip.StatusException(status);
            }
        }
Esempio n. 2
0
 public void SetOutputChannel(ColorChannelFlag flags)
 {
 }
Esempio n. 3
0
 public void SetOutputChannel(ColorChannelFlag flags, ColorAdjustType type)
 {
     GetInfo(type).channelFlags = flags;
 }
Esempio n. 4
0
		internal static extern Status GdipSetImageAttributesOutputChannel (IntPtr imageattr,
			ColorAdjustType type, bool enableFlag, 	ColorChannelFlag channelFlags);
Esempio n. 5
0
 public void SetOutputChannel(ColorChannelFlag flags, ColorAdjustType type)
 {
     clrChannelFlags = flags;
     clrAdjustType   = type;
 }
	public void SetOutputChannel(ColorChannelFlag flags, ColorAdjustType type) {}
Esempio n. 7
0
 public void SetOutputChannel(ColorChannelFlag flags, ColorAdjustType type) => throw new NotImplementedException();
 /// <include file='doc\ImageAttributes.uex' path='docs/doc[@for="ImageAttributes.SetOutputChannel1"]/*' />
 /// <devdoc>
 ///    <para>[To be supplied.]</para>
 /// </devdoc>
 public void SetOutputChannel(ColorChannelFlag flags, ColorAdjustType type)
 {
         int status = SafeNativeMethods.Gdip.GdipSetImageAttributesOutputChannel(
             new HandleRef(this, nativeImageAttributes),
             type,
             true,
             flags);
                     
     if (status != SafeNativeMethods.Gdip.Ok)
             throw SafeNativeMethods.Gdip.StatusException(status);
     }
 /// <summary>Sets the CMYK (cyan-magenta-yellow-black) output channel for the default category.</summary>
 /// <param name="flags">
 ///     An element of <see cref="T:Common.Drawing.Imaging.ColorChannelFlag" /> that specifies the output
 ///     channel.
 /// </param>
 /// <PermissionSet>
 ///     <IPermission
 ///         class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
 ///         version="1" Flags="UnmanagedCode, ControlEvidence" />
 /// </PermissionSet>
 public void SetOutputChannel(ColorChannelFlag flags)
 {
     WrappedImageAttributes.SetOutputChannel((System.Drawing.Imaging.ColorChannelFlag)flags);
 }
Esempio n. 10
0
        public void SetOutputChannel(ColorChannelFlag flags, ColorAdjustType type)
        {
            Status status = GDIPlus.GdipSetImageAttributesOutputChannel(nativeImageAttr, type, true, flags);

            GDIPlus.CheckStatus(status);
        }
Esempio n. 11
0
		public void SetOutputChannel(ColorChannelFlag flags, ColorAdjustType type)
		{
			clrChannelFlags = flags;
			clrAdjustType = type;
		}
Esempio n. 12
0
 public void SetOutputChannel(ColorChannelFlag flags)
 {
     throw null;
 }
Esempio n. 13
0
 internal static extern int GdipSetImageAttributesOutputChannel(HandleRef imageattr,
                                                                ColorAdjustType type,
                                                                bool enableFlag,
                                                                ColorChannelFlag flags);
	public void SetOutputChannel(ColorChannelFlag flags, ColorAdjustType type)
			{
				GetInfo(type).channelFlags = flags;
			}
Esempio n. 15
0
 public void SetOutputChannel(ColorChannelFlag flags, ColorAdjustType type)
 {
 }
 /// <include file='doc\ImageAttributes.uex' path='docs/doc[@for="ImageAttributes.SetOutputChannel"]/*' />
 /// <devdoc>
 ///    <para>[To be supplied.]</para>
 /// </devdoc>
 public void SetOutputChannel(ColorChannelFlag flags)
 {
     SetOutputChannel(flags, ColorAdjustType.Default);
 }
Esempio n. 17
0
 /// <summary>Sets the CMYK (cyan-magenta-yellow-black) output channel for a specified category.</summary>
 /// <param name="flags">
 ///     An element of <see cref="T:Common.Drawing.Imaging.ColorChannelFlag" /> that specifies the output
 ///     channel.
 /// </param>
 /// <param name="type">
 ///     An element of <see cref="T:Common.Drawing.Imaging.ColorAdjustType" /> that specifies the category
 ///     for which the output channel is set.
 /// </param>
 public void SetOutputChannel(ColorChannelFlag flags, ColorAdjustType type)
 {
     WrappedImageAttributes.SetOutputChannel((System.Drawing.Imaging.ColorChannelFlag)flags,
                                             (System.Drawing.Imaging.ColorAdjustType)type);
 }
Esempio n. 18
0
 internal static int GdipSetImageAttributesOutputChannel(HandleRef imageattr, ColorAdjustType type, bool enableFlag, ColorChannelFlag flags) => GdipSetImageAttributesOutputChannel_ptr.Delegate(imageattr, type, enableFlag, flags);
Esempio n. 19
0
		public void SetOutputChannel (ColorChannelFlag flags, ColorAdjustType type)
		{
			Status status = GDIPlus.GdipSetImageAttributesOutputChannel (nativeImageAttr, type, true, flags);
			GDIPlus.CheckStatus (status);
		}
Esempio n. 20
0
 public void SetOutputChannel(ColorChannelFlag flags)
 {
     SetOutputChannel(flags, ColorAdjustType.Default);
 }
	public void SetOutputChannel(ColorChannelFlag flags) {}