Hi I am trying to export a GoView into an svg file using the GoSvgWriter. The generated file when opened in the browser does not show scroll bars if the document is too long. I have looked at many things in the documentation to find any settings. Please let me know what needs to be done. The following is the function modified from one of your samples(LayerDemo.cs). GoVersion: 2.6.2
Thanks
Subbu
protected void fileSaveAsMenuItem_Click (object sender, System.EventArgs e) {
DemoView view = GetCurrentDemoView();
if (view != null) {
SaveFileDialog s = new SaveFileDialog();
if (s.ShowDialog() == DialogResult.OK) {
DemoDocument doc = view.Doc;
doc.Location = s.FileName;
GoSvgWriter w = new GoSvgWriter();
w.ObjectsLimitedToDocExtent = false;
w.PanAndZoomControls = false;
w.View = view;
FileStream fs1 = new FileStream(s.FileName, FileMode.Create);
w.Generate(new RectangleF(0, 0, view.DocumentSize.Width + 100, view.DocumentSize.Height + 100), 1.0f, fs1);
fs1.Close();
}
}
}