Uploads a chunk of external annotations data to the specified document.
public static void UploadAnnotations(
ObjectCache cache,
Uri uri,
byte[] data,
int offset,
int length
)
Public Shared Sub UploadAnnotations(
ByVal cache As ObjectCache,
ByVal uri As Uri,
ByVal data() As Byte,
ByVal offset As Integer,
ByVal length As Integer
)
public:
static void UploadAnnotations(
ObjectCache^ cache,
Uri^ uri,
array<Byte>^ data,
Int32 offset,
Int32 length
)
cache
The cache used when uploading this document. This value cannot be null.
uri
The temporary document URI. This must be the same value returned from BeginUpload and cannot be null.
data
Current chunk of data. The factory will upload length number of bytes from this chunk starting at offset.
offset
Offset into data where to data begins.
length
Number of bytes to upload.
BeginUpload, UploadDocument and AbortUploadDocument can be used to upload a document in chunks to the cache used by this DocumentFactory. After the document is uploaded, you can use LoadFromUri to create a LEADDocument object from the data.
External annotations for the document can also be uploaded using UploadAnnotations. This method must be called between BeginUpload and EndUpload.
Refer to Uploading Using the Document Library for detailed information on how to use these methods and the various options used.
For an example, refer to BeginUpload
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document