Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

GMImage.GetWidth

Component: GraphicsMagick
Version: 2.0
Mac OS X: Works
Windows: Works

MBS( "GMImage.GetWidth"; ImageRef )

Parameters

Parameter Description Example value
ImageRef The image reference (a number returned from the GMImage.New functions) 1

Result

Returns the Image width.

Description

Returns the Image width.

Examples

Show with and height

Let ( [
$Image = MBS("GMImage.NewFromContainer"; GraphicsMagick::image);
$Width = MBS("GMImage.GetWidth";$Image);
$Height = MBS("GMImage.GetHeight";$Image);
$Error = MBS("GMImage.Destroy";$Image)
];
$Width & " x " & $Height )

Feedback: Report problem or ask question.




Links
MBS Realbasic PDF Plugins - Bilder aus Nickenich