New Forum | Previous | Next | (P-PDF) Developers
Topic: Changing Form XObject's (PDEForm) content - PDE layer does not works?
Conf: (P-PDF) Developers, Msg: 136858
Date: 7/27/2005 01:38 AM
I am not able to change GState of elements located in XObjects forms.
Does anybody know if is it possible, or there is some restriction about this.
Any help would be appreciate.
Thanks in advance,
Here is the example:
/* Pure kPDEPath objects GState are transformed well, but transforming kPDEPath objects located in PDEForms are not applied to final PDF. However, when I am debuging the GState looks modified in Form XObjects too, but the change are not written into PDF - maybe this is a bug in PDPageSetPDEContent function?
//lets go to change GState of kPDEPath objects
PDEContent pageContent = PDPageAcquirePDEContent(currentPDPage, gExtensionID);
for (ASInt32 i = 0; i < PDEContentGetNumElems(cont); i++)
PDEElement curElem = PDEContentGetElem(cont, i);
ChangeGState(PDEFormGetContent((PDEForm)curElem)); //recursive calling
PDEElementSetGState(curElem, &gMyGState, sizeof(gMyGState));