Hello,
when Exporting aspx page to pdf , I want to widen the widht of image(chart control)
is there any way to control the dimentions of images?
any help will be appreciated
here is my code:
....
Dim row3 As Row = tbl.Rows.Add()
Dim cell3 As Cell = row3.Cells.Add
str = chartTitle
Dim hdrComulativeChart As New Aspose.Pdf.Text(str, subheader_txtinfo)
cell3.Paragraphs.Add(hdrComulativeChart)
ChartControl1.Save(mstream)
Dim image1 As Aspose.Pdf.Image = New Aspose.Pdf.Image()
cell3.Paragraphs.Add(image1)
image1.ImageInfo.ImageFileType = ImageFileType.MemoryBmp
image1.ImageInfo.OpenType = ImageOpenType.Memory
image1.ImageScale = 0.5F
mstream.Position = 0
image1.ImageInfo.MemoryData = reader.ReadBytes(CType(mstream.Length, Integer))
...