RGB

Applies to

PDFColor object

Description

Gets or sets the RGB color value in the PDF document.

Data type

Integer.

Usage

In scripts

The RGB property takes a long value. For example:

String ls_text
lpdf_rtext = create PDFrichtext
lpdf_color = create PDFcolor

lpdf_rtext.width = lpdf_page.getwidth( )
ls_text = "Addtextblock(string name,string text,color) text"
lpdf_color.rgb = rgb(255,0,0)