Re: [mapguide-users] How to prepare unmanaged DWF Drawingsource?

2007-10-25 Thread Carl
Thank you. I tried your method but can't access the DWF file as a folder. I seached internet and found another way to get the sheets' names, which is based on SharpZipLib. using System.IO; using ICSharpCode.SharpZipLib.BZip2; using ICSharpCode.SharpZipLib.Zip; using ICSharpCode.SharpZipLib.Zip.C

Re: [mapguide-users] How to prepare unmanaged DWF Drawingsource?

2007-10-24 Thread Brad L
I use the file system to get the name of the folder in the unzipped dwf. The folder name is the same as the sheet attribute you need. here is a function in VB to get the Name of the folder. It should be easy to convert to C# or just drop it in your appcode folder as VB code. Public Function ge

Re: [mapguide-users] How to prepare unmanaged DWF Drawingsource?

2007-10-24 Thread Carl
Thank you very much. It's ok to left the 0 to range coordinates(miin/max Values). Could you please tell me how do you extract the sheet name by program automatically, for example in c#, but not mannaully. Brad L wrote: > > I am using unmanaged DWF files but I build all of my maps dynamically a

RE: [mapguide-users] How to prepare unmanaged DWF Drawingsource?

2007-10-23 Thread Bill Ten Broeck
Hi Brad - This looks to be exactly what I needed. Thanks! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brad L Sent: Tuesday, October 23, 2007 2:45 PM To: mapguide-users@lists.osgeo.org Subject: Re: [mapguide-users] How to prepare unmanaged DWF

Re: [mapguide-users] How to prepare unmanaged DWF Drawingsource?

2007-10-23 Thread Brad L
I am using unmanaged DWF files but I build all of my maps dynamically at runtime. I don't know if this makes things more or less difficult for your situation but I will give you the short version of my process. The XML for your dwf layer will look something like this. http://www.w3.org/2001/

Re: [mapguide-users] How to prepare unmanaged DWF Drawingsource?

2007-10-23 Thread Carl
Sorry, I haven't. btenbroeck wrote: > > Carl, did you ever find/get a solution to this? > > > Carl wrote: >> >> It is ok to publish the unmanaged SDF file. but how to prepare unmanaged >> DWF Drawingsource? It seems more complicated than SDF. >> > > -- View this message in context: htt

Re: [mapguide-users] How to prepare unmanaged DWF Drawingsource?

2007-10-23 Thread btenbroeck
Carl, did you ever find/get a solution to this? Carl wrote: > > It is ok to publish the unmanaged SDF file. but how to prepare unmanaged > DWF Drawingsource? It seems more complicated than SDF. > -- View this message in context: http://www.nabble.com/How-to-prepare-unmanaged-DWF-Drawingsour