Hi,
I have a StiReportTitleBand as a tittle of my report, and I put a picture beside. all works well, but when I load the report in StiWebViewer. not show me the image beside the tittle, when I print the image in any format, is when I can see.
is a bug?
or i do something wrong?
this is a fragment of my code.
'Create Image
Dim imagen As New Stimulsoft.Report.Components.StiImage()
imagen.ClientRectangle = New Stimulsoft.Base.Drawing.RectangleD(8.4, 12.4, 2.6, 2.6)
imagen.Border = New Stimulsoft.Base.Drawing.StiBorder(Stimulsoft.Base.Drawing.StiBorderSides.None, System.Drawing.Color.Black, 1, Stimulsoft.Base.Drawing.StiPenStyle.Solid, False, 4, New Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black))
imagen.Brush = New Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent )
imagen.ImageURL = New StiImageURLExpression("Imagenes/imgMasterCatalogos/Clientes42x42.png")
imagen.Left = 0.0
imagen.Top = 0.0
'imagen.Height = 10
'imagen.Width = 10
imagen.Name = "imagen1"
imagen.Page = Page
imagen.Parent = HeaderTittle
Report.Pages(0).Components.Add(imagen)
and Tittle
'Create Text on Tittle
Dim TittleText As New StiText(New RectangleD(0, 0, 19, 1.6))
TittleText.HorAlignment = StiTextHorAlignment.Center
TittleText.Font = New System.Drawing.Font("Arial", 36.0F, System.Drawing.FontStyle.Bold)
TittleText.Brush = New Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent)
TittleText.TextBrush = New Stimulsoft.Base.Drawing.StiGradientBrush(System.Drawing.Color.White, System.Drawing.Color.DarkRed, 0)
TittleText.TextOptions = New Stimulsoft.Base.Drawing.StiTextOptions(False, False, False, 0.0F, System.Drawing.Text.HotkeyPrefix.None, System.Drawing.StringTrimming.None)
TittleText.Text.Value = "REPORTE DE EJEMPLO"
HeaderTittle.Components.Add(TittleText)
Doubts about report Preview
Doubts about report Preview
Hello,
You can't place components beside other components in web. Please check documentation:
Exports->How to create a report for export?
Thank you.
You can't place components beside other components in web. Please check documentation:
Exports->How to create a report for export?
Thank you.