> On 14 Oct 2015, at 19:37, Peter Truskier <[email protected]> wrote:
> 
> I am trying to implement changing the blend mode of a PDF object within the 
> SetExtGstate event of a DynaPDFParseIntefaceMBS object, and I have a few 
> questions:

Well, DynapdfExtGState2MBS is just an extended version of DynapdfExtGStateMBS.

> 1. What is the “index” parameter? How can a Graphics State have multiple 
> blend modes?

Looks like this is possible.

> 2. I am able to GET the BlendMode(0) value which is, usually and reasonably, 
> 1 or kbmNormal.

good.

> 3. How do I SET the blend mode? If I try to do something like this:

The DynapdfExtGState2MBS with 2 is just for getting values.
To create a blend mode, you need to use DynapdfExtGStateMBS class.

> In the original version of the extended GState object (DynapdfExtGState2), 
> BlendMode seems to be a simple read/write property.
> 
> Can I do this? If not, why? What am I missing?

Well, you may want to use the other class for setting.
DynaPDF can read more properties than it can write.

Sincerely
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