VoyForums

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 123456[7]8910 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 17:09:33 08/09/01 Thu
Author: Darrell
Subject: Graphic Dimensions

How do I obtain the dimensions of a graphic after loading it into an instance of a TDibGraphic? The following does not work
************************************************************
try
trialgraphic := TDibGrapic.create;
trialGraphic.loadfromfile('c:\test.png');
ShowMessage(IntToStr(trialgraphic.width));
finally
trialgraphic.free;
end;

[ Next Thread | Previous Thread | Next Message | Previous Message ]


Replies:


[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.