←Select platform

SetDefOption Method

Summary

Sets users default 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 SetDefOption( 
   string name, 
   string value 
) 
Public Function SetDefOption( 
   ByVal name As String, 
   ByVal value As String 
) As ControllerReturnCode 
public:  
   ControllerReturnCode^ SetDefOption( 
      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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.WebViewer.ExternalControl Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.