Label Property CollectionSet Preferred(Label Property) Method
This can be used to set one label as the preferred label
Definition
Namespace: EWSoftware.PDI.Properties
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
C#
public void SetPreferred(
LabelProperty label
)VB
Public Sub SetPreferred (
label As LabelProperty
)C++
public:
void SetPreferred(
LabelProperty^ label
)F#
member SetPreferred :
label : LabelProperty -> unit Parameters
- label LabelProperty
- The label to make preferred
Remarks
The Preferred flag is turned off in all labels except for the one specified
Exceptions
| ArgumentOutOfRangeException | This is thrown if the collection does not contain the specified label object. |