PLTPenColor property (ILEADRasterIO)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

OLE_COLOR PLTPenColor (short iIndex);

Overview

Refer to Loading a Bitmap from a File.

Remarks

Gets or sets an array of colors that represent pen colors used by an HPGL file.

Default values are:

PLTPenColor(0)

RGB( 255, 255, 255 )

PLTPenColor(1)

RGB( 0, 0, 0 )

PLTPenColor(2)

RGB( 255, 0, 0 )

PLTPenColor(3)

RGB( 0, 255, 0 )

PLTPenColor(4)

RGB( 255, 255, 0 )

PLTPenColor(5)

RGB( 0, 0, 255 )

PLTPenColor(6)

RGB( 255, 0, 255 )

PLTPenColor(7)

RGB( 0, 255, 255 )

If this property is not set before loading a PLT file, the default values listed above will be used.

See Also

Elements:

PLTPenWidth property

Topics:

Raster Images: Loading Files

 

Using Color Values in LEADTOOLS