ImageGear .NET - Updated
Write(String,Int32,String) Method




ImageGear23.Web.Services Assembly > ImageGear.Web.UI Namespace > ArtConnection Class > Write Method : Write(String,Int32,String) Method
Output document identifier of an ImageGear XML art document.
Page to update art annotation marks in the document.
JSON string of art annotation marks to save to the document.
Outputs ImageGear XML art mark annotations to a document.
Syntax
'Declaration
 
Public Overloads Sub Write( _
   ByVal documentIdentifier As String, _
   ByVal pageNumber As Integer, _
   ByVal artPageJson As String _
) 
'Usage
 
Dim instance As ArtConnection
Dim documentIdentifier As String
Dim pageNumber As Integer
Dim artPageJson As String
 
instance.Write(documentIdentifier, pageNumber, artPageJson)
public void Write( 
   string documentIdentifier,
   int pageNumber,
   string artPageJson
)
public: void Write( 
   string* documentIdentifier,
   int pageNumber,
   string* artPageJson
) 
public:
void Write( 
   String^ documentIdentifier,
   int pageNumber,
   String^ artPageJson
) 

Parameters

documentIdentifier
Output document identifier of an ImageGear XML art document.
pageNumber
Page to update art annotation marks in the document.
artPageJson
JSON string of art annotation marks to save to the document.
Remarks

Page numbers start at zero for the first page in a document.

If the page exists in the document, it will be replaced with the art annotation being supplied. If the page number is greater than the number of pages in the document, the page will be appended but any missing pages between the document's last page and the new page location will be filled with pages of empty annotations. As an example, an existing two page annotated document that has a sixth page added will save the annotations on the sixth page with pages three, four and five filled with no annotation marks.

This method uses a TransactionScope System.Transactions.TransactionScope object when it writes to prevent concurrency writing issues.

See Also

Reference

ArtConnection Class
ArtConnection Members
Overload List