This function allows the BBox stored in a form's XObject to be recalculated after its contents have been modified.
The bounding box of a form is set in the COS form, and is usually not changed by any event in the conversions between PDE and COS content. This is done so that the user may set the bounding box of a form so as to specifically clip its contents to a given path (the bounding box).
Sometimes the content of a form is changed, and then the user may want to reset the form's bounding box to the size of the current content.
void PDEFormCalcBBox(PDEForm form);
form | the PDEForm whose BBox should be recalculated.
|
PDEFont PDEFormGetFont(PDEForm form);
form | The PDEForm of interest
|
ASAtom PDEFormGetName(IN PDEForm form);
void PDEFormGetTextState(IN PDEForm form, OUT PDETextState *tState);
form | IN The form whose Cos object is obtained.
|
PDETExtState | IN/OUT (Filled by the method) The text state associated with this form
|
void PDEFormSetContentEx(IN PDEForm form, IN PDEContent content);
void PDEFormSetFont(PDEForm form, PDEFont font);
form | The PDEForm of interest.
|
font | The PDEFont to be set.
|
void PDEFormSetTextState(IN PDEForm form, IN PDETextState *tState);
form | IN The form whose Cos object is obtained.
|
PDETExtState | IN The text state associated with this form
|