←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#
C++/CLI
public ControllerReturnCode SetDefOption( 
   string name, 
   string value 
) 
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 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.WebViewer.ExternalControl Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.