DL Logo

PDEForm Functions

PDEFormCalcBBox

Header: DLExtrasProcs.h:620

Description

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.

Syntax

void PDEFormCalcBBox(PDEForm form);

Parameters

form
the PDEForm whose BBox should be recalculated.

PDEFormGetFont

Header: DLExtrasProcs.h:562

Description

This retrieves the PDEFont referenced in a PDEForm.

Related Methods

Syntax

PDEFont PDEFormGetFont(PDEForm form);

Parameters

form
The PDEForm of interest

PDEFormGetName

Header: DLExtrasProcs.h:1026

Description

Reserved for Internal Use.

Syntax

ASAtom PDEFormGetName(IN PDEForm form);

PDEFormGetTextState

Header: PERProcs.h:3418

Description

Gets the PDETextState for a form.

Syntax

void PDEFormGetTextState(IN PDEForm form, OUT PDETextState *tState);

Parameters

form
IN The form whose Cos object is obtained.
PDETExtState
IN/OUT (Filled by the method) The text state associated with this form

Exceptions

PDEFormSetContentEx

Header: DLExtrasProcs.h:1118

Description

Reserved for Internal Use.

Syntax

void PDEFormSetContentEx(IN PDEForm form, IN PDEContent content);

PDEFormSetFont

Header: DLExtrasProcs.h:569

Description

This sets the PDEFont referenced in a PDEForm.

Related Methods

Syntax

void PDEFormSetFont(PDEForm form, PDEFont font);

Parameters

form
The PDEForm of interest.
font
The PDEFont to be set.

PDEFormSetTextState

Header: PERProcs.h:3427

Description

Sets the PDETextState for a form.

Syntax

void PDEFormSetTextState(IN PDEForm form, IN PDETextState *tState);

Parameters

form
IN The form whose Cos object is obtained.
PDETExtState
IN The text state associated with this form

Exceptions