This topic is locked

watermark Jpeg.Canvas.Print

10/29/2010 4:16:52 AM
ASPRunnerPro General questions
E
erdinoxyz author

Hello.

By modifying the watermark on the images with file names print in Commonfunctions.asp.

However.

Jpeg.Canvas.Print 40, 10, "www.xyz.com"; strvalue row ("SiteName") variable I want to use. strvalue ("SiteName") use, can not get the result.

Commonfunctions.asp on the codes I used as follows:

Jpeg.Canvas.Font.Color = &000000

Jpeg.Canvas.Font.Family = "ARIAL"

Jpeg.Canvas.Font.Bold = FALSE

Jpeg.Canvas.Print 40, 10, strvalue ("SiteName")

Jpeg.Canvas.Pen.Color = &000000

Jpeg.Canvas.Pen.Width = 0

Jpeg.Canvas.Brush.Solid = False

Jpeg.Canvas.Bar 1, 1, Jpeg.Width, Jpeg.Height

Jpeg.SendBinary

Thanks.

Erdinc

Sergey Kornilov admin 10/29/2010

Try server variable Request.ServerVariables("SERVER_NAME")

E
erdinoxyz author 10/29/2010



Try server variable Request.ServerVariables("SERVER_NAME")



Thanks.

Your Suggestion, partly solved the problem.

I like write dict("YourSchollName"). (YourSchollName on Teacher_Add.asp form)

I use this Code: Request.Querystring("YourSchollName")

But, this code gives a null value.

Sergey Kornilov admin 10/29/2010

It all depends on where exactly you put this code. I recommend to post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.