Murray Brown
asked on
ASP.net VB.net open pdf in new browser at 100%
Hi
I am using the following code to open a pdf file in a new browser
It opens at 143%
How do get it to rather open at 100%
I am using the following code to open a pdf file in a new browser
It opens at 143%
How do get it to rather open at 100%
Try
Response.Clear()
Dim filePath As String = "~/Resources/GREAT.pdf"
Response.ContentType = "application/pdf"
Response.WriteFile(filePath)
Catch ex As Exception
Response.Write(ex.Message)
End Try
Are you sure this happens to everyone, or just you?
ASKER
Good question. Can only speak for myself :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It may just be the way you have your PDF viewer configured, and not a problem with the file itself at all. I'd look into it.
ASKER
thanks