Partager via


CustomLabel.DotMatrix Property (Word)

True if the printer type for the specified custom label is dot matrix. False if the printer type is either laser or ink jet. Read-only Boolean.

Syntax

expression .DotMatrix

expression A variable that represents a CustomLabel object.

Example

This example displays the name and printer type of the first custom mailing label.

Dim mlTemp As MailingLabel 
 
Set mlTemp = Application.MailingLabel 
If mlTemp.CustomLabels.Count >= 1 Then 
 If mlTemp.CustomLabels(1).DotMatrix = True Then 
 MsgBox mlTemp.CustomLabels(1).Name & " is dot matrix" 
 Else 
 MsgBox mlTemp.CustomLabels(1).Name _ 
 & " is laser or ink jet" 
 End If 
End If

See Also

Concepts

CustomLabel Object Members

CustomLabel Object