Am 06.05.2013 um 20:32 schrieb Peter Truskier <[email protected]>:

> Hi,
> 
> I am wondering whether the function "isColorPage" is designed to take into 
> consideration whether the page will actually contain color marks on the page, 
> or merely whether objects with a nominal color fill or stroke exist on the 
> page. 

Well, it's more like, if it says b/w than it is b/w.
If it says true, the page may have colors.

> For example, if a page contains a text object with a red fill color, BUT the 
> contents of that text object is nothing but one or more space characters, 
> will the function return true or false?

Looking on code, it looks like a space will be enough to mark the page as 
having color.

> The DynaPDF reference says "The function does not return when a color is set, 
> the color must be used by an object.", but this doesn't quite answer the 
> question in the case of an empty string…


Well, if you set color to red, than to black and finally write text, you have 
black text and the red color is ignored.

Greetings
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to