Click or drag to resize
Ranorex

AttributeDescriptorTruncationLength Property

Gets or sets the maximum length of the string representation of an attribute value when used in RxPaths. If the length of the string representation of the attribute value is greater than this value, the string representation is truncated at the next word boundary (extending truncation length up to 100% of the configured value) and converted to a StartsWith expression.

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public int TruncationLength { get; set; }

Property Value

Type: Int32
The maximum length of the string representation of the attribute value when used in RxPaths. Default is int.MaxValue, i.e. by default truncating is disabled.
Remarks
If you set this value to -1, the MaxMatchTextLen will be used as truncation length for this attribute.
See Also