Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic HtmlBuilder.CreateImageHtml - ImageFormat (Read 1711 times)
lue
YaBB Newbies
*
Offline


I love NetDiagram!

Posts: 43
Location: Austria
Joined: Jan 9th, 2008
HtmlBuilder.CreateImageHtml - ImageFormat
Jun 22nd, 2008 at 1:48pm
Print Post  
Hi all,

does anybody know what value is needed in parameter imgFormat for jpeg? Please an example ...

Public Function CreateImageHtml ( _
    htmlFileName As String, _
    htmlTitle As String, _
    imgLocalPath As String, _
    imgURL As String, _
    imgFormat As ImageFormat _
) As String

thanks chris
  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: HtmlBuilder.CreateImageHtml - ImageFormat
Reply #1 - Jun 23rd, 2008 at 10:44am
Print Post  
Hi Chris,

Don't use HtmlBuilder, but add a DiagramView to your page, set its ClientSideMode property to ImageMap, and the ImageFormat property to "image/jpeg". You must specify a MIME type as an image format, for example "image/jpeg", "image/png" or "image/gif".

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint