G

Applies to

PDFColor object

Description

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

Data type

Integer.

Usage

In scripts

The G property takes an integer 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.r = 255
lpdf_color.g = 0
lpdf_color.b = 0