SuppressTrailingZeros Property

The SuppressLeadingZeros property returns or sets the flag indicating whether labels should remove trailing zeros. It returns a Boolean.

Syntax

object.SuppressTrailingZeros

object.SuppressTrailingZeros = SuppressTrailingZeros

Parameter

Type

Description

SuppressTrailingZeros

Boolean

Optional; True if labels should remove trailing zeros; False if not.

Example

This example demonstrates how to enable the removal of trailing zeros for all labels that use this LabelFormat object.

ILabelFormat.SuppressTrailingZeros = True

Used by: LabelFormat Object