PhpDig.net

Go Back   PhpDig.net > General Forums > Coding & Tutorials

Reply
 
Thread Tools
Old 09-19-2004, 01:43 AM   #1
x21hx
Green Mole
 
Join Date: Sep 2004
Posts: 2
Help with pdflib

Hi community,

I'm a newbie as you can see with my post count. I have a question and hopefully someone has some experience with this or point me to the right community. I am working with pdflib 6, block plugin

I am trying to read in the border color value. Say I set the block at RGB (.2,.3,0), the following line:

$type = PDF_get_pdi_parameter($pdf, "vdp/Blocks/blockname/bordercolor[0]", $doc, $page, 0);

returns the right value of DeviceRGB...however I need to extract the colour components as well (.2,.3,0). Does anyone know how to get these components?

$type = PDF_get_pdi_value($pdf, "vdp/Blocks/blockname/bordercolor[1]", $doc, $page, 0);

I figured bordercolor[1], bordercolor[2] etc. would get it but it doesn't.

Any help is appreciated

Thanks

Last edited by x21hx; 09-19-2004 at 01:54 AM.
x21hx is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:30 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.