Write-only
About User Preferences

SetUserPreferences Method

Description

Sets user preferences.

VB Syntax

plts.SetUserPreferences(userPref)

Variable

(Type) - Description

plts

(object) - A PLTSApplication object

userPref

(string) User preference settings in xml format:

 

 

<UserPreferencesApiArgs>

 

 

    <DoNotShowConnectDutWzdPg>true</DoNotShowConnectDutWzdPg>

//Set true to ignore checkbox "Show Connect DUT Page" in the Measure button dropdown menu of the Measurement toolbar

 

    <DoNotShowSelectViewWzdPg>true</DoNotShowSelectViewWzdPg>

//Set true to ignore checkbox "Show Select Analysis View Page" in the Measure button dropdown menu of the Measurement toolbar

 

</UserPreferencesApiArgs>

 

Return Type

Not Applicable

Default

None

Examples

Dim xmlUserPref As XElement = _

  <UserPreferencesApiArgs>

    <DoNotShowConnectDutWzdPg>true</DoNotShowConnectDutWzdPg>

    <DoNotShowSelectViewWzdPg>true</DoNotShowSelectViewWzdPg>

  </UserPreferencesApiArgs>

app.SetUserPreferences(xmlUserPref.ToString())

See an example program.

C++ Syntax

HRESULT SetUserPreferences(BSTR userPref);

Interface

IPLTSApplication