System.Drawing
[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 07 D1 FA 57 C4 AE D9 F0 A3 2E 84 AA 0F AE FD 0D E9 E8 FD 6A EC 8F 87 FB 03 76 6C 83 4C 99 92 1E B2 3B E7 9A D9 D5 DC C1 DD 9A D2 36 13 21 02 90 0B 72 3C F9 80 95 7F C4 E1 77 10 8F C6 07 77 4F 29 E8 32 0E 92 EA 05 EC E4 E8 21 C0 A5 EF E8 F1 64 5C 4C 0C 93 C1 AB 99 28 5D 62 2C AA 65 2C 1D FA D6 3D 74 5D 6F 2D E5 F1 7E 5E AF 0F C4 96 3D 26 1C 8A 12 43 65 18 20 6D C0 93 34 4D 5A D2 93]
1.0.3300.0
1.0.5000.0
2.0.0.0
Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.
System.Object
System.ICloneable
System.IDisposable
An object maintains several color-adjustment settings, including color-adjustment matrices, grayscale-adjustment matrices, gamma-correction values, color-map tables, and color-threshold values. During rendering, colors can be corrected, darkened, lightened, and removed. To apply such manipulations, initialize an object and pass the path of that object (along with the path of an ) to the method.
Contains information about how bitmap and metafile colors are manipulated during rendering.
Constructor
To be added
Initializes a new instance of the class.
1.0.5000.0
2.0.0.0
Method
System.Void
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify one color-remap table for the default category, a different color-remap table for the bitmap category, and still a different color-remap table for the brush category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the brush category, the default settings apply to the brush category.
As soon as you specify a color-adjustment or grayscale-adjustment setting for a certain category, the default adjustment settings no longer apply to that category. For example, suppose you specify a default remap table that converts red to green, and you specify a default gamma value of 1.8. If you call the method, the default remap table (red to green) and the default gamma value (1.8) will not apply to brushes. If you later call the method, the brush category will not revert to the default remap table; rather, the brush category will have no remap table. Similarly, the brush category will not revert to the default gamma value; rather, the brush category will have no gamma value.
Clears the brush color-remap table of this object.
This method does not return a value.
1.0.5000.0
2.0.0.0
Method
System.Void
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify one color key for the default category, a different color key for the bitmap category, and still a different color key for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, the default settings apply to the pen category.
Clears the color key (transparency range) for the default category.
1.0.5000.0
2.0.0.0
Method
System.Void
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify one color key for the default category, a different color key for the bitmap category, and still a different color key for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, the default settings apply to the pen category.
As soon as you specify a color-adjustment or grayscale-adjustment setting for a certain category, the default adjustment settings no longer apply to that category. For example, suppose you specify a default color key that makes any color with a red component from 200 through 255 transparent, and you specify a default gamma value of 1.8. If you set the color key of the pen category by calling the method, the default color key and the default gamma value will not apply to pens. If you later clear the pen color key by calling the method, the pen category will not revert to the default color key; rather, the pen category will have no color key. Similarly, the pen category will not revert to the default gamma value; rather, the pen category will have no gamma value.
Clears the color key (transparency range) for a specified category.
This method does not return a value.
An element of that specifies the category for which the color key is cleared.
1.0.5000.0
2.0.0.0
Method
System.Void
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a color-adjustment matrix for the default category, a different color-adjustment matrix for the bitmap category, and still a different color-adjustment matrix for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, then the default settings apply to the pen category.
Clears the color-adjustment matrix for the default category.
This method does not return a value.
1.0.5000.0
2.0.0.0
Method
System.Void
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a color-adjustment matrix for the default category, a different color-adjustment matrix for the bitmap category, and still a different color-adjustment matrix for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, then the default settings apply to the pen category.
As soon as you specify a color-adjustment or grayscale-adjustment setting for a certain category, the default adjustment settings no longer apply to that category. For example, suppose you specify a color-adjustment matrix and a gamma value for the default category. If you set a color-adjustment matrix for the pen category by calling the method, the default color-adjustment matrix will not apply to pens. If you later clear the pen color-adjustment matrix by calling the method, the pen category will not revert to the default adjustment matrix; rather, the pen category will have no adjustment matrix. Similarly, the pen category will not revert to the default gamma value; rather, the pen category will have no gamma value.
Clears the color-adjustment matrix for a specified category.
This method does not return a value.
An element of that specifies the category for which the color-adjustment matrix is cleared.
1.0.5000.0
2.0.0.0
Method
System.Void
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a gamma value for the default category, a different gamma value for the bitmap category, and still a different gamma value for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, the default settings apply to the pen category.
Disables gamma correction for the default category.
1.0.5000.0
2.0.0.0
Method
System.Void
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a gamma value for the default category, a different gamma value for the bitmap category, and still a different gamma value for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, then the default settings apply to the pen category.
As soon as you specify a color-adjustment or grayscale-adjustment setting for a certain category, the default adjustment settings no longer apply to that category. For example, suppose you specify a gamma value and a color-adjustment matrix for the default category. If you set the gamma value for the pen category by calling the method, the default gamma value will not apply to pens. If you later clear the pen gamma value by calling the method, the pen category will not revert to the default gamma value; rather, the pen category will have no gamma value. Similarly, the pen category will not revert to the default color-adjustment matrix; rather, the pen category will have no color-adjustment matrix.
Disables gamma correction for a specified category.
This method does not return a value.
An element of that specifies the category for which gamma correction is disabled.
1.0.5000.0
2.0.0.0
Method
System.Void
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a gamma value for the default category, a different gamma value for the bitmap category, and still a different gamma value for the pen category.
You can disable color adjustment for the default category by calling the method. Later, you can reinstate color adjustment for the default category by calling the method. The color adjustment then returns to what was in place before the call to .
Clears the NoOp setting for the default category.
1.0.5000.0
2.0.0.0
Method
System.Void
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a gamma value for the default category, a different gamma value for the bitmap category, and still a different gamma value for the pen category.
You can disable color adjustment for a certain category by calling the method. Later, you can reinstate color adjustment for that category by calling the method. The color adjustment then returns to what was in place before the call to .
Clears the NoOp setting for a specified category.
This method does not return a value.
An element of that specifies the category for which the NoOp setting is cleared.
1.0.5000.0
2.0.0.0
Method
System.Void
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify an output channel for the default category and a different output channel for the bitmap category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the bitmap category, the default settings apply to the bitmap category.
Clears the CMYK (cyan-magenta-yellow-black) output channel setting for the default category.
1.0.5000.0
2.0.0.0
Method
System.Void
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify an output channel for the default category and a different output channel for the bitmap category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the bitmap category, the default settings apply to the bitmap category.
As soon as you specify a color-adjustment or grayscale-adjustment setting for a certain category, the default adjustment settings no longer apply to that category. For example, suppose you specify an output channel and an adjustment matrix for the default category. If you set the output channel for the bitmap category by calling the method, the default output channel will not apply to bitmaps. If you later clear the bitmap output channel by calling the method, the bitmap category will not revert to the default output channel; rather, the bitmap category will have no output channel setting. Similarly, the bitmap category will not revert to the default color-adjustment matrix; rather, the bitmap category will have no color-adjustment matrix.
Clears the (cyan-magenta-yellow-black) output channel setting for a specified category.
This method does not return a value.
An element of that specifies the category for which the output channel setting is cleared.
1.0.5000.0
2.0.0.0
Method
System.Void
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify an output channel profile for the default category and a different output channel profile for the bitmap category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the bitmap category, the default settings apply to the bitmap category.
Clears the output channel color profile setting for the default category.
1.0.5000.0
2.0.0.0
Method
System.Void
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify an output channel profile for the default category and a different output channel profile for the bitmap category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the bitmap category, the default settings apply to the bitmap category.
As soon as you specify a color-adjustment or grayscale-adjustment setting for a certain category, the default adjustment settings no longer apply to that category. For example, suppose you specify an output channel profile and an adjustment matrix for the default category. If you set the output channel profile for the bitmap category by calling the method, the default output channel profile will not apply to bitmaps. If you later clear the bitmap output channel profile by calling the method, the bitmap category will not revert to the default output channel profile; rather, the bitmap category will have no output channel profile setting. Similarly, the bitmap category will not revert to the default color-adjustment matrix; rather, the bitmap category will have no color-adjustment matrix.
Clears the output channel color profile setting for a specified category.
This method does not return a value.
An element of that specifies the category for which the output channel profile setting is cleared.
1.0.5000.0
2.0.0.0
Method
System.Void
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a remap table for the default category, a different remap table for the bitmap category, and still a different remap table for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, the default settings apply to the pen category.
Clears the color-remap table for the default category.
1.0.5000.0
2.0.0.0
Method
System.Void
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a remap table for the default category, a different remap table for the bitmap category, and still a different remap table for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, then the default settings apply to the pen category.
As soon as you specify a color-adjustment or grayscale-adjustment setting for a certain category, the default adjustment settings no longer apply to that category. For example, suppose you specify a remap table and a gamma value for the default category. If you set the remap table for the pen category by calling the method, the default remap table will not apply to pens. If you later clear the pen remap table by calling the method, the pen category will not revert to the default remap table; rather, the pen category will have no remap table. Similarly, the pen category will not revert to the default gamma value; rather, the pen category will have no gamma value.
Clears the color-remap table for a specified category.
This method does not return a value.
An element of that specifies the category for which the remap table is cleared.
1.0.5000.0
2.0.0.0
Method
System.Void
The threshold is a value from 0 through 1 that specifies a cutoff point for each color component. For example, suppose the threshold is set to 0.7, and suppose you are rendering a color whose red, green, and blue components are 230, 50, and 220, respectively. The red component (230) is greater than 0.7x255, so the red component will be changed to 255 (full intensity). The green component (50) is less than 0.7x255, so the green component will be changed to 0. The blue component (220) is greater than 0.7x255, so the blue component will be changed to 255.
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a threshold for the default category, a different threshold for the bitmap category, and still a different threshold for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, the default settings apply to the pen category.
Clears the threshold value for the default category.
This method does not return a value.
1.0.5000.0
2.0.0.0
Method
System.Void
The threshold is a value from 0 through 1 that specifies a cutoff point for each color component. For example, suppose the threshold is set to 0.7, and suppose you are rendering a color whose red, green, and blue components are 230, 50, and 220, respectively. The red component (230) is greater than 0.7x55, so the red component will be changed to 255 (full intensity). The green component (50) is less than 0.7x255, so the green component will be changed to 0. The blue component (220) is greater than 0.7x255, so the blue component will be changed to 255.
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a threshold for the default category, a different threshold for the bitmap category, and still a different threshold for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, the default settings apply to the pen category.
As soon as you specify a color-adjustment or grayscale-adjustment setting for a certain category, the default adjustment settings no longer apply to that category. For example, suppose you specify a threshold and a gamma value for the default category. If you set the threshold for the pen category by calling the method, the default threshold will not apply to pens. If you later clear the pen threshold by calling the method, the pen category will not revert to the default threshold; rather, the pen category will have no threshold. Similarly, the pen category will not revert to the default gamma value; rather, the pen category will have no gamma value.
Clears the threshold value for a specified category.
This method does not return a value.
An element of that specifies the category for which the threshold is cleared.
1.0.5000.0
2.0.0.0
Method
System.Object
To be added
Creates an exact copy of this object.
The object this class creates, cast as an object.
1.0.5000.0
2.0.0.0
Method
System.Void
Call when you are finished using the . The method leaves the in an unusable state. After calling , you must release all references to the so the garbage collector can reclaim the memory that the was occupying. For more information, see Cleaning Up Unmanaged Resources and Implementing a Dispose Method.
Always call before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the object's Finalize method.
Releases all resources used by this object.
This method does not return a value.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added
To be added
1.0.5000.0
2.0.0.0
Method
System.Void
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a color-remap table for the default category, a different color-remap table for the bitmap category, and still a different color-remap table for the pen category.
When you call the method, you can specify the adjustment category that is used to adjust the palette colors. For example, if you pass to the method, the adjustment settings of the bitmap category are used to adjust the palette colors.
Adjusts the colors in a palette according to the adjustment settings of a specified category.
This method does not return a value.
A that on input contains the palette to be adjusted, and on output contains the adjusted palette.
An element of that specifies the category whose adjustment settings will be applied to the palette.
1.0.5000.0
2.0.0.0
Method
System.Void
A color-remap table is an array of structures. Each structure has two objects: one that specifies an old color and one that specifies a corresponding new color. During rendering, any color that matches one of the old colors in the remap table is changed to the corresponding new color.
Calling the method has the same effect as passing to the method. The specified remap table applies to items in metafiles that are filled with a brush.
This method is intended to be used only with metafiles.
Sets the color-remap table for the brush category.
This method does not return a value.
An array of objects.
1.0.5000.0
2.0.0.0
Method
System.Void
This method sets the high and low color-key values so that a range of colors can be made transparent. Any color that has each of its three components (red, green, blue) between the corresponding components of the high and low color keys is made transparent.
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a color key for the default category, a different color key for the bitmap category, and still a different color key for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, the default settings apply to the pen category.
Sets the color key for the default category.
This method does not return a value.
The low color-key value.
The high color-key value.
1.0.5000.0
2.0.0.0
Method
System.Void
This method sets the high and low color-key values so that a range of colors can be made transparent. Any color that has each of its three components (red, green, blue) between the corresponding components of the high and low color keys is made transparent.
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a color key for the default category, a different color key for the bitmap category, and still a different color key for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, the default settings apply to the pen category.
As soon as you specify a color-adjustment or grayscale-adjustment setting for a certain category, the default adjustment settings no longer apply to that category. For example, suppose you specify a collection of adjustment settings for the default category. If you set the color key for the pen category by passing to the method, none of the default adjustment settings will apply to pens.
Sets the color key (transparency range) for a specified category.
This method does not return a value.
The low color-key value.
The high color-key value.
An element of that specifies the category for which the color key is set.
1.0.5000.0
2.0.0.0
Method
System.Void
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify adjustment matrices for the default category, different adjustment matrices for the bitmap category, and still different adjustment matrices for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, the default settings apply to the pen category.
Calling the method is equivalent to calling the method and passing for the parameter. specifies that all colors (including grays) are adjusted by the color-adjustment matrix, not the grayscale-adjustment matrix. Therefore, the grayscale-adjustment matrix passed to this method has no effect.
Sets the color-adjustment matrix and the grayscale-adjustment matrix for the default category.
This method does not return a value.
The color-adjustment matrix.
The grayscale-adjustment matrix.
1.0.5000.0
2.0.0.0
Method
System.Void
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify adjustment matrices for the default category, different adjustment matrices for the bitmap category, and still different adjustment matrices for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, the default settings apply to the pen category.
Sets the color-adjustment matrix and the grayscale-adjustment matrix for the default category.
This method does not return a value.
The color-adjustment matrix.
The grayscale-adjustment matrix.
An element of that specifies the type of image and color that will be affected by the color-adjustment and grayscale-adjustment matrices.
1.0.5000.0
2.0.0.0
Method
System.Void
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify adjustment matrices for the default category, different adjustment matrices for the bitmap category, and still different adjustment matrices for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, the default settings apply to the pen category.
As soon as you specify a color-adjustment or grayscale-adjustment setting for a certain category, the default adjustment settings no longer apply to that category. For example, suppose you specify a collection of adjustment settings for the default category. If you set the color-adjustment and grayscale-adjustment matrices for the pen category by passing to the method, none of the default adjustment settings will apply to pens.
Sets the color-adjustment matrix and the grayscale-adjustment matrix for a specified category.
This method does not return a value.
The color-adjustment matrix.
The grayscale-adjustment matrix.
An element of that specifies the type of image and color that will be affected by the color-adjustment and grayscale-adjustment matrices.
An element of that specifies the category for which the color-adjustment and grayscale-adjustment matrices are set.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added: an object of type 'ColorMatrix'
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a color-adjustment matrix for the default category, a different color-adjustment matrix for the bitmap category, and still a different color-adjustment matrix for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, the default settings apply to the pen category.
Calling the method is equivalent to calling the method and passing for the parameter. specifies that all colors (including grays) are adjusted by the color-adjustment matrix
Sets the color-adjustment matrix for the default category.
This method does not return a value.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added.
To be added.
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a color-adjustment matrix for the default category, a different color-adjustment matrix for the bitmap category, and still a different color-adjustment matrix for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, the default settings apply to the pen category.
Sets the color-adjustment matrix for the default category.
This method does not return a value.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added.
To be added.
To be added.
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a color-adjustment matrix for the default category, a different color-adjustment matrix for the bitmap category, and still a different color-adjustment matrix for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, the default settings apply to the pen category.
As soon as you specify a color-adjustment or grayscale-adjustment setting for a certain category, the default adjustment settings no longer apply to that category. For example, suppose you specify a collection of adjustment settings for the default category. If you set the color-adjustment matrix for the pen category by passing to the method, none of the default adjustment settings will apply to pens.
Sets the color-adjustment matrix for a specified category.
This method does not return a value.
1.0.5000.0
2.0.0.0
Method
System.Void
Typical values for the parameter are from 1.0 to 2.2; however, values from 0.1 to 5.0 could prove useful in some circumstances.
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a gamma value for the default category, a different gamma value for the bitmap category, and still a different gamma value for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, the default settings apply to the pen category.
Gamma values outside the usual range may be useful for old CRT monitors or for monitors that are in unusual lighting conditions, such as industrial environments or window displays.
Sets the gamma value for the default category.
This method does not return a value.
The gamma correction value.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added.
Typical values for the parameter are from 1.0 to 2.2; however, values from 0.1 to 5.0 could prove useful in some circumstances.
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a gamma value for the default category, a different gamma value for the bitmap category, and still a different gamma value for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, the default settings apply to the pen category.
As soon as you specify a color-adjustment or grayscale-adjustment setting for a certain category, the default adjustment settings no longer apply to that category. For example, suppose you specify a collection of adjustment settings for the default category. If you set the gamma value for the pen category by passing to the method, none of the default adjustment settings will apply to pens.
Gamma values outside the usual range may be useful for old CRT monitors or for monitors that are in unusual lighting conditions, such as industrial environments or window displays.
Sets the gamma value for a specified category.
This method does not return a value.
The gamma correction value.
1.0.5000.0
2.0.0.0
Method
System.Void
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a gamma value for the default category, a different gamma value for the bitmap category, and still a different gamma value for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, the default settings apply to the pen category.
Turns off color adjustment for the default category. You can call the method to reinstate the color-adjustment settings that were in place before the call to the method.
1.0.5000.0
2.0.0.0
Method
System.Void
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a gamma value for the default category, a different gamma value for the bitmap category, and still a different gamma value for the pen category.
Turns off color adjustment for a specified category. You can call the method to reinstate the color-adjustment settings that were in place before the call to the method.
This method does not return a value.
An element of that specifies the category for which color correction is turned off.
1.0.5000.0
2.0.0.0
Method
System.Void
You can use the method to convert an image to a CMYK color space and examine the intensities of one of the CMYK color channels. For example, suppose you create an object and set its bitmap output channel to . If you pass the path of that object to the method, the cyan component of each pixel is calculated, and each pixel in the rendered image is a shade of gray that indicates the intensity of its cyan channel. Similarly, you can render images that indicate the intensities of the magenta, yellow, and black channels.
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify an output channel for the default category and a different output channel for the bitmap category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the bitmap category, the default settings apply to the bitmap category.
Sets the CMYK (cyan-magenta-yellow-black) output channel for the default category.
An element of that specifies the output channel.
1.0.5000.0
2.0.0.0
Method
System.Void
You can use the method to convert an image to a CMYK color space and examine the intensities of one of the CMYK color channels. For example, suppose you create an object and set its bitmap output channel to . If you pass the path of that object to the method, the cyan component of each pixel is calculated, and each pixel in the rendered image is a shade of gray that indicates the intensity of its cyan channel. Similarly, you can render images that indicate the intensities of the magenta, yellow, and black channels.
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify an output channel for the default category and a different output channel for the bitmap category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the bitmap category, the default settings apply to the bitmap category.
As soon as you specify a color-adjustment or grayscale-adjustment setting for a certain category, the default adjustment settings no longer apply to that category. For example, suppose you specify a collection of adjustment settings for the default category. If you set the output channel for the bitmap category by passing to the method, none of the default adjustment settings will apply to bitmaps.
Sets the CMYK (cyan-magenta-yellow-black) output channel for a specified category.
An element of that specifies the output channel.
An element of that specifies the category for which the output channel is set.
1.0.5000.0
2.0.0.0
Method
System.Void
You can use the and methods to convert an image to a CMYK (cyan-magenta-yellow-black) color space and examine the intensities of one of the CMYK color channels. For example, suppose you write code that performs the following steps:
-
Create an .
-
Create an object.
-
Pass to the method of the object.
-
Pass the path name of a color profile file to the method of the object.
-
Pass the paths of the and objects to the method.
ndptecgdiplus will use the color-profile file to calculate the cyan component of each pixel in the image, and each pixel in the rendered image will be a shade of gray that indicates the intensity of its cyan channel.
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify an output channel color-profile file for the default category and a different output channel color-profile file for the bitmap category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the bitmap category, the default settings apply to the bitmap category.
Sets the output channel color-profile file for the default category.
This method does not return a value.
The path name of a color-profile file. If the color-profile file is in the %SystemRoot%\System32\Spool\Drivers\Color directory, this parameter can be the file name. Otherwise, this parameter must be the fully qualified path name.
1.0.5000.0
2.0.0.0
Method
System.Void
You can use the and methods to convert an image to a CMYK (cyan-magenta-yellow-black) color space and examine the intensities of one of the CMYK color channels. For example, suppose you write code that performs the following steps:
-
Create an .
-
Create an object.
-
Pass to the method of the object.
-
Pass the path name of a color profile file to the method of the object.
-
Pass the paths of the and objects to the method.
ndptecgdiplus will use the color-profile file to calculate the cyan component of each pixel in the image, and each pixel in the rendered image will be a shade of gray that indicates the intensity of its cyan channel.
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify an output channel color-profile file for the default category and a different output channel color-profile file for the bitmap category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the bitmap category, the default settings apply to the bitmap category.
As soon as you specify a color-adjustment or grayscale-adjustment setting for a certain category, the default adjustment settings no longer apply to that category. For example, suppose you specify a collection of adjustment settings for the default category. If you set the output channel color-profile file for the bitmap category by passing to the method, none of the default adjustment settings will apply to bitmaps.
Sets the output channel color-profile file for a specified category.
This method does not return a value.
The path name of a color-profile file. If the color-profile file is in the %SystemRoot%\System32\Spool\Drivers\Color directory, this parameter can be the file name. Otherwise, this parameter must be the fully qualified path name.
An element of that specifies the category for which the output channel color-profile file is set.
1.0.5000.0
2.0.0.0
Method
System.Void
A color-remap table is an array of structures. Each structure has two objects: one that specifies an old color and one that specifies a corresponding new color. During rendering, any color that matches one of the old colors in the remap table is changed to the corresponding new color.
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a color remap for the default category, a color-remap table for the bitmap category, and still a different color-remap table for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, the default settings apply to the pen category.
Sets the color-remap table for the default category.
This method does not return a value.
An array of color pairs of type . Each color pair contains an existing color (the first value) and the color that it will be mapped to (the second value).
1.0.5000.0
2.0.0.0
Method
System.Void
A color-remap table is an array of structures. Each structure has two objects: one that specifies an old color and one that specifies a corresponding new color. During rendering, any color that matches one of the old colors in the remap table is changed to the corresponding new color.
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a color remap for the default category, a color-remap table for the bitmap category, and still a different color-remap table for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, the default settings apply to the pen category.
As soon as you specify a color-adjustment or grayscale-adjustment setting for a certain category, the default adjustment settings no longer apply to that category. For example, suppose you specify a collection of adjustment settings for the default category. If you set the color-remap table for the pen category by passing to the method, none of the default adjustment settings will apply to pens.
Sets the color-remap table for a specified category.
This method does not return a value.
An array of color pairs of type . Each color pair contains an existing color (the first value) and the color that it will be mapped to (the second value).
An element of that specifies the category for which the color-remap table is set.
1.0.5000.0
2.0.0.0
Method
System.Void
The threshold is a value from 0 through 1 that specifies a cutoff point for each color component. For example, suppose the threshold is set to 0.7, and suppose you are rendering a color whose red, green, and blue components are 230, 50, and 220, respectively. The red component (230) is greater than 0.7x255, so the red component will be changed to 255 (full intensity). The green component (50) is less than 0.7x255, so the green component will be changed to 0. The blue component (220) is greater than 0.7x255, so the blue component will be changed to 255.
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a threshold for the default category, a threshold for the bitmap category, and still a different threshold for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, the default settings apply to the pen category.
Sets the threshold (transparency range) for the default category.
This method does not return a value.
A real number that specifies the threshold value.
1.0.5000.0
2.0.0.0
Method
System.Void
The threshold is a value from 0 through 1 that specifies a cutoff point for each color component. For example, suppose the threshold is set to 0.7, and suppose you are rendering a color whose red, green, and blue components are 230, 50, and 220, respectively. The red component (230) is greater than 0.7x255, so the red component will be changed to 255 (full intensity). The green component (50) is less than 0.7x255, so the green component will be changed to 0. The blue component (220) is greater than 0.7x255, so the blue component will be changed to 255.
An object maintains color and grayscale settings for five adjustment categories: default, bitmap, brush, pen, and text. For example, you can specify a threshold for the default category, a threshold for the bitmap category, and still a different threshold for the pen category.
The default color-adjustment and grayscale-adjustment settings apply to all categories that do not have adjustment settings of their own. For example, if you never specify any adjustment settings for the pen category, the default settings apply to the pen category.
As soon as you specify a color-adjustment or grayscale-adjustment setting for a certain category, the default adjustment settings no longer apply to that category. For example, suppose you specify a collection of adjustment settings for the default category. If you set the threshold for the pen category by passing to the method, none of the default adjustment settings will apply to pens.
Sets the threshold (transparency range) for a specified category.
This method does not return a value.
A threshold value from 0.0 to 1.0 that is used as a breakpoint to sort colors that will be mapped to either a maximum or a minimum value.
An element of that specifies the category for which the color threshold is set.
1.0.5000.0
2.0.0.0
Method
System.Void
Calling the method is equivalent to calling and passing for the parameter. specifies the color of pixels outside of a rendered image. This color is visible if the mode parameter is set to and the source rectangle passed to the method is larger than the image itself.
Sets the wrap mode that is used to decide how to tile a texture across a shape, or at shape boundaries. A texture is tiled across a shape to fill it in when the texture is smaller than the shape it is filling.
This method does not return a value.
An element of that specifies how repeated copies of an image are used to tile an area.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added
Sets the wrap mode and color used to decide how to tile a texture across a shape, or at shape boundaries. A texture is tiled across a shape to fill it in when the texture is smaller than the shape it is filling.
This method does not return a value.
An element of that specifies how repeated copies of an image are used to tile an area.
An object that specifies the color of pixels outside of a rendered image. This color is visible if the mode parameter is set to and the source rectangle passed to is larger than the image itself.
1.0.5000.0
2.0.0.0
Method
System.Void
To be added
Sets the wrap mode and color used to decide how to tile a texture across a shape, or at shape boundaries. A texture is tiled across a shape to fill it in when the texture is smaller than the shape it is filling.
This method does not return a value.
An element of that specifies how repeated copies of an image are used to tile an area.
A color object that specifies the color of pixels outside of a rendered image. This color is visible if the mode parameter is set to and the source rectangle passed to is larger than the image itself.
This parameter has no effect. Set it to false.
1.0.5000.0
2.0.0.0