ColorSpaceConvert2Gray Method |
Initialize default ranges for each color component in the color space.
For example, default ranges for DeviceRGB are [0 1 0 1 0 1] but for Lab
the default values might be [0 100 -100 100 -100 100].
A convenience function used to convert color points from the current
color space to DeviceGray color space.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public void Convert2Gray(
ColorPt in_color,
ColorPt out_color
)
Public Sub Convert2Gray (
in_color As ColorPt,
out_color As ColorPt
)
public:
virtual void Convert2Gray(
[InAttribute] ColorPt^ in_color,
[InAttribute] ColorPt^ out_color
) sealed
function Convert2Gray(in_color, out_color);
Parameters
- in_color
- Type: pdftron.PDFColorPt
input color point in the current color space
- out_color
- Type: pdftron.PDFColorPt
output color point in the DeviceGray color space
Return Value
Type:
the color pt
Remarks the size of resulting vectors will match the number of color components
in this color space.
Remarks the number to input colorants must match the number of colorants
expected by the current color space.
See Also