PdcCalculation.SetWeight: Difference between revisions
Jump to navigation
Jump to search
Created page with "== Declaration == == Description == == Notes == == Code example == <source lang="vb"> </source> == Availability ==" |
No edit summary |
||
Line 1: | Line 1: | ||
== Declaration == | == Declaration == | ||
SetWeight as double | |||
== Description == | == Description == | ||
Set the weight | |||
== Notes == | == Notes == | ||
This property sets the 'Weight' of the current calculation. The property 'ManualWeight' must be set to 'True' before the weight can be set with this option. | |||
== Code example == | == Code example == | ||
This code example returns the 'Weight' of the active calculation. | |||
<source lang="vb"> | <source lang="vb"> | ||
dim objCalc | |||
set objCalc = pdc.ActiveCalculation | |||
msgbox objCalc.SetWeight | |||
</source> | </source> | ||
== Availability == | == Availability == | ||
Available since January 2009. |
Latest revision as of 10:15, 21 May 2012
Declaration
SetWeight as double
Description
Set the weight
Notes
This property sets the 'Weight' of the current calculation. The property 'ManualWeight' must be set to 'True' before the weight can be set with this option.
Code example
This code example returns the 'Weight' of the active calculation.
dim objCalc
set objCalc = pdc.ActiveCalculation
msgbox objCalc.SetWeight
Availability
Available since January 2009.