Simplificar/limpiar código logos reportes RDLC
This commit is contained in:
@@ -376,11 +376,7 @@ Partial Class PopUpAuxiliar
|
||||
params.Add(New ReportParameter("Importe", LtlImporte.Text))
|
||||
params.Add(New ReportParameter("Saldo", LtlSaldo.Text))
|
||||
|
||||
If Imagen.Exists Then
|
||||
params.Add(New ReportParameter("LogoPath", $"file://{Imagen.FullName}"))
|
||||
Else
|
||||
params.Add(New ReportParameter("LogoPath", ""))
|
||||
End If
|
||||
params.Add(New ReportParameter("LogoPath", If(Imagen.Exists, $"file://{Imagen.FullName}", "")))
|
||||
|
||||
ImprimirPDF("Empresas\Grales\Formatos\RepAuxiliarContable.rdlc", DTDatos, params, "RepAuxiliarContable_" & LtlFolio.Text, Formato:=Formato)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user