←Select platform

UpdateSvgDocument Method

Summary

Update the SVG document of an item.

Syntax

C#
VB
C++
public void UpdateSvgDocument( 
   ImageViewerItem item, 
   SvgDocument document 
) 
Public Sub UpdateSvgDocument( 
   ByVal item As ImageViewerItem, 
   ByVal document As SvgDocument 
) 
public:  
   void UpdateSvgDocument( 
      ImageViewerItem^ item, 
      SvgDocument^ document 
   ) 

Parameters

item

Item to update

document

New document. If this is null, then the item will be empty after this method returns.

Remarks

This method lets you quickly update the ImageViewerItem.SvgDocument value. It is the equivalent of the following code:

ImageViewerItem item = imageViewer.Items[some index]; 
item.SvgDocument = document; 

Requirements

Target Platforms

Help Version 19.0.2017.10.19
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.WinForms Assembly