Previous Document Next Document

Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.GetFountainFillColor


CorelScript.GetFountainFillColor

Function GetFountainFillColor(Index As Long, Position As Long, ColorModel As Long, V1 As Long, V2 As Long, V3 As Long, V4 As Long, V5 As Long, V6 As Long, Density As Long) As Long

Description

Member of CorelScript

The GetFountainFillColor method returns a color from a fountain fill.

Parameter
Description
Index
Specifies the index number of the color. (To determine how many colors are in a fountain fill, use the CorelScript.GetFountainFill method.) Valid values range from 0 to the number of colors minus 1; a value of 100 specifies the end color.
Position
Specifies the position of the color within the fill
ColorModel
Specifies the numeric variable that is assigned to the desired color model. Valid values are as follows:
 
1 = Pantone
 
2 = CMYK100
 
3 = CMYK255
 
4 = CMY
 
5 = RGB
 
6 = HSB
 
7 = HLS
 
8 = BW
 
9 = Gray
 
11 = YIQ255
 
12 = LAB
 
13 = Index
 
14 = Pantone Hex
 
15 = Hexachrome
V1
Specifies the numeric variable that is assigned to the first color component of the selected color model. Valid values vary with the color model.
V2
Specifies the numeric variable that is assigned to the second color component of the selected color model. Valid values vary with the color model. If this parameter is not available in the specified color model, its value can be set to 0.
V3
Specifies the numeric variable that is assigned to the third color component of the selected color model. Valid values vary with the color model. If this parameter is not available in the specified color model, its value can be set to 0.
V4
Specifies the numeric variable that is assigned to the fourth color component of the selected color model. Valid values vary with the color model. If this parameter is not available in the specified color model, its value can be set to 0.
V5
Specifies the numeric variable that is assigned to the fifth color component of the selected color model. Valid values vary with the color model. If this parameter is not available in the specified color model, its value can be set to 0.
V6
Specifies the numeric variable that is assigned to the sixth color component of the selected color model. Valid values vary with the color model. If this parameter is not available in the specified color model, its value can be set to 0.
Density
Specifies the color density

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.