Ask a Question related to ASP.NET General, Design and Development.
-
Sam #1
Pass Variables to page that is Page ContentType="image/Jpeg"
I'm wondering if I can pass variables to "TestForm.aspx" with the way
I'm using it. It's acting as a jpeg image and looks like:
<%@ Page ContentType="image/Jpeg" %>
<%@ Import namespace="System.Drawing" %>
<%@ Import namespace="System.Drawing.Imaging" %>
<Script Runat="Server">
Sub Page_Load
Dim objBitmap As Bitmap
Dim objGraphics As Graphics
Dim x As Integer
Dim y As Integer
x = 10
y = 10
'Create Bitmap
objBitmap = new bitmap("C:\MyBitmap.bmp")
'Draw point on bitmap
objGraphics = Graphics.FromImage(objBitmap)
objGraphics.FillEllipse(Brushes.Black, x, y, 7, 7)
'Save Bitmap to this page's Out stream
objBitmap.Save(Response.OutputStream, ImageFormat.Jpeg)
End Sub
</Script>
My Main form MainForm.aspx has an image control and a button when the
button is clicked I set the image url to the TestForm:
Private Sub Button1_Click(ByVal sender As Object, _
ByVal e As EventArgs) Handles Button1.Click
Image1.ImageUrl = "TestForm.aspx"
End Sub
I'd like to pass the X and Y to the TestForm. Is there a way to do
this?
Thanks for any help...
Sam Guest
-
"Page" and "Rect" props of the Field prop in Javascript API
Page property of the Field property in Javascript Acrobat API returns an array of pages that this field exists in. On the other hand, "rect" property... -
"Deleted Hidden Page And Image Content" - Doesn't work?
Hi All Whenever I try and crop a PDF all the cropped information is still in the document. Granted it is hidden/masked but it is still there. When... -
ASP detail page "swap image" on click
I am designing a site with master/detail ASP pages using an access data source. The Detail pages will display merchandise with the option to swap... -
Can't choose "page setup" or "print" - Mac OS 9x
Hello I have a problem on multiple Macs when using Freehand 10. I have not found any answers on macromedia Support or on the web. Before... -
Certain custom "Page not Found" page problem
Hi ! I have an ISAPI instalation of PHP over IIS5 server on Windows 2000. Everything works fine but as I am under website development I would...



Reply With Quote

