Update this document from a descriptor.
public void UpdateFromDocumentDescriptor(
DocumentDescriptor descriptor
)
Public Sub UpdateFromDocumentDescriptor(
ByVal descriptor As DocumentDescriptor
)
public:
void UpdateFromDocumentDescriptor(
DocumentDescriptor^ descriptor
)
public void updateFromDocumentDescriptor(DocumentDescriptor descriptor)
descriptor
Simple JSON object that contains properties of the document.
DocumentDescriptor is a simple JSON serializable object that can be used to re-create a Document.
Use CreateDocumentDescriptor to generate the object from an existing document.
Use UpdateFromDocumentDescriptor to update an existing Document from a descritpor.
Use CreateDocumentOptions.Descriptor along with Create(createdocumentoptions) from a descritpor.
These methods are used by the LEADTOOLS Documents Web Service to allow creating or manipulating existing documents from JavaScript. When the JavaScript has finished with the Document object, it will call CreateDocumentDescriptor to obtain a simple JSON object that describes the document and send it to the server. The server will then call UpdateFromDocumentDescriptor or DocumentFactory.Create to update an existing or creata a new Document object.
Refer to CreateDocumentOptions.Descriptor for more information.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET