El 09/03/2017 a las 17:05, Lars via Lazarus escribió:
TPicture has several width properties in all sorts of places, for example:

var p: TPicture;
begin
  ...
  p.width
  p.jpeg.width
  p.bitmap.width
end;

Are any of these pure duplicates that are exactly the same thing, or do
some of them have different behaviours and should most definitely not be
used interchangeably?


Hello,

AFAIK:

TPicture.Width is the TGraphic container size.
TPicture.jpeg.Width is the width declared in the jpeg image.
TPicture.Bitmap.Width is the width of the bitmap in pixels.

Mostly the 3 will have the same value but extracted from different sources.

--

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to