scrollDraw.Panel.AddView(imvImage,10,i*(imgHeight+imgSpace),imgWidth,imgHeight)
scrollDraw.Panel.AddView(lblTitle,45,i*(imgHeight+imgSpace)+10,imgWidth,imgHeight)
scrollDraw.Panel.AddView(lblDate,45,i*(imgHeight+imgSpace)+35,imgWidth,imgHeight)
Dim leftImage, topImage, widthImage, heightImage As Double
Dim xImage, yImage, xImage2, yImage2 As Double
leftImage= 10
topImage = i*(imgHeight+imgSpace)
widthImage = imgWidth
heightImage = imgHeight
Dim strXImage, strYImage, strXImage2, strYImage2 As String
Dim dlbx As Double
xImage = (100*leftImage)/xPortrait
'strXImage = xImage &"%X"
yImage = (100*topImage)/yPortrait
xImage2 = (100*widthImage)/xPortrait
yImage2 = (100-heightImage)/yPortrait
imvImage.SetLayout(xImage*1%X,yImage*1%Y,xImage2*1%X,yImage2*1%Y)