An Integer value. Gets the value of the blue component of the color regardless of the color scheme of the object.
Applies to objects: Color
[[Let] ret =] object.GetBlue (Doc) |
The GetBlue method syntax has these parts:
Part | Description |
object | A reference to an instance of the object. |
Doc | A reference to an instance of the Document object. |
ret | An Integer type variable (range 0 - 255). |
You can also use the Blue propery to get the value of the blue component of the object's color. However, that property is only effective if the color of objeñt is in the RGB format. For correct transformation of an indexed color to the RGB or CMYK format for the specified document, the Doc parameter is used in the GetBlue method.
This example shows how to find out the value of the blue component of a rectangle's fill color (the color was specified in the CMYK format).
dim s as shape ' Create a Shape object |
See Also |
Color Object |