ImageEn, unit iexBitmaps

TIOParams.Width

TIOParams.Width


Declaration

property Width: integer;


Description

Returns the width of the image in pixels.


Example

// Get the size of an image
ImageEnView1.IO.ParamsFromFile('C:\Input.jpg');
ShowMessage( format( 'Image is %d x %d pixels', [ ImageEnView1.IO.Params.Width, ImageEnView1.IO.Params.Height ]);


Compatibility Information

Prior to v10.0.0, Width would be set when using JPEG_Scale or J2000_Reduce. LoadToWidth should now be used for this purpose (though setting Width will still work)