Type   Default Value   Read Only   Description
XColor   Black No 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("ABCpdf3.Doc")
theDoc.Color = "255 0 0"
theDoc.FillRect

theDoc.Save "c:\doccolor.pdf"


doccolor.pdf

   

 

Browser Based Help. Published by chm2web software.