Forum und email

cpdf_scale

(PHP 4, PHP 5 <= 5.0.5)

cpdf_scale — Sets scaling

설명

bool cpdf_scale ( int $pdf_document , float $x_scale , float $y_scale )

Sets the scaling factor in both directions.

매개변수

pdf_document

cpdf_open()이 반환한 문서 핸들.

x_scale

The X scale percent to set. Default to 0.0

y_scale

The Y scale percent to set. Default to 0.0

반환값

성공할 경우 TRUE를, 실패할 경우 FALSE를 반환합니다.