Hi,
I'm trying to put multiple images on one silde. I managed to put the images. But all the images are on top of each other at the same place. Could you please tell me how to tile them at the same size? Thanks!
The code I'm using now is:
Dim ConnStr As String = System.Configuration.ConfigurationSettings.AppSettings("ConnStr")
Dim com As New OdbcCommand
com.Connection = New OdbcConnection(ConnStr)
com.Connection.Open()
com.CommandText = "SELECT ImageID FROM ImgesTable"
com.ExecuteNonQuery()
Dim objDataReader As OdbcDataReader
objDataReader = com.ExecuteReader(CommandBehavior.CloseConnection)
While objDataReader.Read()
Dim Str As String = objDataReader("ImageID")
Dim img As System.Drawing.Image = CType(New Bitmap("\\linkpath\" & Str & ".png"), Drawing.Image)
Dim imgx As ImageEx = pres.Images.AddImage(img)
Dim idx3 As Integer = sld1.Shapes.AddPictureFrame(ShapeTypeEx.Rectangle, 20, 100, imgx.Width, imgx.Height, imgx)
Dim pf As PictureFrameEx = CType(sld1.Shapes(idx3), PictureFrameEx)
End While