Type Default Value Read Only Description
XColor   Black Yes The current drawing and filling color.

 

   

Notes
 

This property determines the color used for drawing lines, shapes, filled shapes and text.

 

   

Example
 

The following code creates a PDF document with a red background.

Set theDoc = Server.CreateObject("ABCpdf13.Doc")
theDoc.Color = "255 0 0"
theDoc.FillRect
theDoc.Save "c:\mypdfs\doccolor.pdf"


doccolor.pdf