NWatermark NImageFillStyle


Author
Message
Mike O'Ceirin
Mike O'Ceirin
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)
Group: Forum Members
Posts: 22, Visits: 184
Using your documentation I do have this working but there is a problem. It is working on my desktop in a visual studio web form. I cannot get away from giving it an absolute reference to the graphics *.gif file. In the default.aspx page there can be a relative reference to "~/WaterMark.gif" but trying to apply the same file to Fillstyle I am forced to use "E:\\Development\\Production\\Energy Chart\\Energy Chart\\WaterMark.gif". When I publish this to the web it produces a black rectangle? It certainly looks all wrong. Essentially the control will not recognise the gif file that is part of the solution.
Reply
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.3K
Hi Mike,

We're glad you managed to fix the problem. Yes, that was the original idea - to convert the path to a relative while the code is still on the aspx page. The chart itself will not try to convert paths from relative to absolute as the engine has to work on desktop as well so it does not have information on how to remap the path properly. Let us know if you meet any problems or have any questions.


Best Regards,
Nevron Support Team


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search