Function Image_WidthA(byval GpImage as Any Ptr) as Integer
Позволяет получить ширину рисунка (в Windows GDI+ bimap , в Linux PixBuf bitmap)
GpImage - Хендл битмапа (может быть получен с помощью Load_ImageA)
Windows , Linux
#Include "window9.bi"
Var GpBitmap=Create_ImageA(347,215)
? Image_WidthA(GpBitmap)
? Image_HeightA(GpBitmap)
Resize_imageA(GpBitmap,100,100)
? Image_WidthA(GpBitmap)
? Image_HeightA(GpBitmap)
FreeGpBitmap(GpBitmap)
Sleep
347
215
100
100
Created with the Personal Edition of HelpNDoc: Free CHM Help documentation generator