在线文档教程
PHP
Image/ImageMagick

Imagick::setImagePage

Imagick::setImagePage

(PECL imagick 2.0.0)

Imagick::setImagePage — Sets the page geometry of the image

Description

bool Imagick::setImagePage ( int $width , int $height , int $x , int $y )

Sets the page geometry of the image.

Parameters

width height x y

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws ImagickException on error.

← Imagick::setImageOrientation

Imagick::setImageProfile →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/imagick.setimagepage.php