Ver Mensaje Individual
  #1 (permalink)  
Antiguo 05/03/2003, 19:24
Avatar de deprabado
deprabado
 
Fecha de Ingreso: febrero-2002
Mensajes: 649
Antigüedad: 23 años, 2 meses
Puntos: 0
Aydua aspimage

tengo este componente instalado, el codigo funciona perfecto

<%
'Create the object
Set Image = Server.CreateObject("AspImage.Image")

'Load image from the server ( must be the absolute path to it )
Image.LoadImage("c:\inetpub\morningz\images\thispi c.jpg" )

'This property will get the height of the loaded image
Height = Image.MaxY

'Set up the text
Image.FontName = "Verdana"
Image.FontColor = vbYellow
Image.FontSize = 10
Image.Bold = True
Image.ThreeDColor = vbBlack

'Will place the text 18 pixels from the bottom and 1 pixel from the left of the picture
Image.TextOut " MorningZ.com ", 1, Height-18, True

'Set the file name for saving, directory must be set to "Everyone - Everything" permissions
Image.FileName = "c:\inetpub\morningz\images\thispic.jpg"

'Does the actual save and returns a boolean value telling success ( the if statement is optional )
if Image.SaveImage then
bSavedSuccessfully = True
else
bSavedSuccessfully = False
end if
%>

pero quiero que la imagen sea una variable, la cual paso desde un form... alguien puede ayudarme he hecho pruebas y siempre se me cae....