DMSFormat Property

The DMSFormat property returns or sets the label DMS format. It returns a string.

Syntax

object.DMSFormat

object.DMSFormat = DMSFormat

Parameter

Type

Description

DateTimeFormat

String

The specific DMS format to use for labels.

Remarks

The string that is returned from/used to set the DMSFormat property uses the same format as the DMS formats in the user interface, except all spaces and periods are replaced with underscores. For example, to set the DMSFormat property to the 'd.dd E' format (in the UI), DMSFormat should be set to "d_dd_E" in automation.

Example

This example demonstrates how to apply the "ddmmss_ss_e" (or "ddmmss.ss e" in the UI) DMS format to the labels that use this LabelFormat object.

ILabelFormat.DMSFormat = "ddmmss_ss_e"

Used by: LabelFormat Object