Article | 60000721 |
Type | Wish |
Product | Engine |
Version | 6014 |
Date Added | 12/23/2008 |
Fixed | Yes [1/4/2009] |
Submitted by | Shay Lapid |
Keywords |
We need method to save/load a document to/from a string that represents a Compress memory stream
This method are highly needed for dealing with drawings across client internet explorer and iis web services on server.
In 6015 version new methods was added in Wrapper vdDocument object
SaveToMemoryString : save a comprees stream into a base64 string
and
CreateFromMemoryString :load a compress stream document from a base64 string
Example in VB6:
Dim globstring As String
''saves the document
globstring = VDraw1.ActiveDocument.SaveToMemoryString(64)
'''''......................
''load the previous saved document.
VDraw1.ActiveDocument.CreateFromMemoryString globstring, 64
VDraw1.Redraw