[PDF_Doc->SetColor] sets the color and style for subsequent drawing operations. A required -Type parameter specifies whether the drawing action is of type Stroke, Fill, or Both. A required -Color parameter specifies a color type of Gray, RGB, or CMYK. If Gray is specified, a -C1 parameter specifies a gray color value. If RGB is specified, -C1, -C2, and -C3 parameters specifiy red, green and blue values, respectively. If CMYK is specified, -C1, -C2, -C3, and -C4 parameters specifiy cyan, magenta, yellow, and black values, respectively. Color values are specified as integers ranging from 0 to 255.
[$Variable Name->(SetColor: -Color='Gray', -C1=Integer)]
[$Variable Name->(SetColor: -Color='RGB', -C1=Integer, -C2=Integer, -C3=Integer)]
[$Variable Name->(SetColor: -Color='CMYK', -C1=Integer, -C2=Integer, -C3=Integer, -C4=Integer)]
See the PDF chapter in the Lasso 8 Language Guide for examples of how to use this tag. Many of the PDF examples require lengthy descriptions and the use of several related tags and are better suited to presentation in the Language Guide. This tag is documented on page 530.
Tag Link | [PDF_Doc->SetColor] | Category | |
---|---|---|---|
Type | Member | Data Source | Any |
Support | Preferred | Version | 6.0 |
Output Type | None | Security | File |
Implementation | LJAPI | Sets | Lasso 6.0 |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft