Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...

When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store


(PHP 4 >= 4.0.5)

SWFTextField::setMarginsSets the margins width of the text field


void SWFTextField::setMargins ( float $left , float $right )

This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

swftextfield::setmargins() set both margins at once, for the man on the go.

Return Values

No value is returned.

PHP Manual