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);
            }
        }
Beispiel #2
0
 public void SetOutputChannel(ColorChannelFlag flags)
 {
 }
Beispiel #3
0
 public void SetOutputChannel(ColorChannelFlag flags, ColorAdjustType type)
 {
     GetInfo(type).channelFlags = flags;
 }
Beispiel #4
0
		internal static extern Status GdipSetImageAttributesOutputChannel (IntPtr imageattr,
			ColorAdjustType type, bool enableFlag, 	ColorChannelFlag channelFlags);
Beispiel #5
0
 public void SetOutputChannel(ColorChannelFlag flags, ColorAdjustType type)
 {
     clrChannelFlags = flags;
     clrAdjustType   = type;
 }
	public void SetOutputChannel(ColorChannelFlag flags, ColorAdjustType type) {}
Beispiel #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);
 }
Beispiel #10
0
        public void SetOutputChannel(ColorChannelFlag flags, ColorAdjustType type)
        {
            Status status = GDIPlus.GdipSetImageAttributesOutputChannel(nativeImageAttr, type, true, flags);

            GDIPlus.CheckStatus(status);
        }
Beispiel #11
0
		public void SetOutputChannel(ColorChannelFlag flags, ColorAdjustType type)
		{
			clrChannelFlags = flags;
			clrAdjustType = type;
		}
Beispiel #12
0
 public void SetOutputChannel(ColorChannelFlag flags)
 {
     throw null;
 }
Beispiel #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;
			}
Beispiel #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);
 }
 /// <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);
 }
Beispiel #18
0
 internal static int GdipSetImageAttributesOutputChannel(HandleRef imageattr, ColorAdjustType type, bool enableFlag, ColorChannelFlag flags) => GdipSetImageAttributesOutputChannel_ptr.Delegate(imageattr, type, enableFlag, flags);
Beispiel #19
0
		public void SetOutputChannel (ColorChannelFlag flags, ColorAdjustType type)
		{
			Status status = GDIPlus.GdipSetImageAttributesOutputChannel (nativeImageAttr, type, true, flags);
			GDIPlus.CheckStatus (status);
		}
Beispiel #20
0
 public void SetOutputChannel(ColorChannelFlag flags)
 {
     SetOutputChannel(flags, ColorAdjustType.Default);
 }
	public void SetOutputChannel(ColorChannelFlag flags) {}