[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 decimal value specifies a gray color value. If RGB is specified, three decimal values specifiy red, green and blue values, respectively. If CMYK is specified, four decimal values specifiy cyan, magenta, yellow, and black values, respectively. Color values are specified as decimals ranging from 0 to 1.0.
[$PDF_Doc->(SetColor: 'stroke', 'Gray', Decimal)]
[$PDF_Doc->(SetColor: 'stroke', 'RGB', Decimal, Decimal, Decimalr)]
[$PDF_Doc->(SetColor: 'stroke', 'CMYK', Decimal, Decimal, Decimal, Decimal)]
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 589.
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 7.0, 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