O
Oliver Keim
Hi,
I have implemented several test reports with additional screenshots.
Most of the screenshots are of different size. Some are just 200x20
pixels, others are 500x400 pixels.
The bitmaps are in my filesystem and the bitmaps are initialized during
the format event using this code:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Dim lf As String
lf = GetWindowsPath("TestApplication:")
If Not IsNull(Me.ModePicture) Then
Me.ImagePreview.Picture = lf & "Pictures\" & Me.ModePicture
Else
Me.ImagePreview.Picture = ""
End If
End Sub
How can I output these bitmaps within the report so the bitmap appears
with correct aspect ratio and a correct output. The access report's
image control does offer alignment plus an size mode (zoom, stretch,
clip) but all of them do not offer a possibility to enlarge the bitmap
output if the bitmap is larger than the image control's size on the report.
Even worse, the image control seems not to be readjustable during format
events, where I would have added additional code to achive correct size
and positioning.
Does anyone know how to achieve the dynamic sizing of bitmaps on reports
during output format events?
Is there any other way to achieve the output of bitmaps with different
sizes?
I am using Access 2003.
Thank you in advance,
Oliver Keim.
(I didn't provide a mail address because of spam, sorry)
I have implemented several test reports with additional screenshots.
Most of the screenshots are of different size. Some are just 200x20
pixels, others are 500x400 pixels.
The bitmaps are in my filesystem and the bitmaps are initialized during
the format event using this code:
Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Dim lf As String
lf = GetWindowsPath("TestApplication:")
If Not IsNull(Me.ModePicture) Then
Me.ImagePreview.Picture = lf & "Pictures\" & Me.ModePicture
Else
Me.ImagePreview.Picture = ""
End If
End Sub
How can I output these bitmaps within the report so the bitmap appears
with correct aspect ratio and a correct output. The access report's
image control does offer alignment plus an size mode (zoom, stretch,
clip) but all of them do not offer a possibility to enlarge the bitmap
output if the bitmap is larger than the image control's size on the report.
Even worse, the image control seems not to be readjustable during format
events, where I would have added additional code to achive correct size
and positioning.
Does anyone know how to achieve the dynamic sizing of bitmaps on reports
during output format events?
Is there any other way to achieve the output of bitmaps with different
sizes?
I am using Access 2003.
Thank you in advance,
Oliver Keim.
(I didn't provide a mail address because of spam, sorry)