←Select platform

SetUserOption Method

Summary

Sets the currently logged in user option's value for the Medical web viewer.

If the name/value of the option specified already exists, it will be overwritten by the new value.

Syntax
C#
VB
C++
public ControllerReturnCode SetUserOption( 
   string name, 
   string value 
) 
Public Function SetUserOption( 
   ByVal name As String, 
   ByVal value As String 
) As ControllerReturnCode 
public:  
   ControllerReturnCode^ SetUserOption( 
      String^ name, 
      String^ value 
   ) 

Parameters

name

Name of the option.

value

Value of the option as a string. Converts any value (like boolean values) into string and stores it.

Return Value

Returns "Success" if option was saved successfully, otherwise, it will return one of the failure codes. Check Return Codes for details.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.WebViewer.ExternalControl Assembly