VerticalPitch 属性

       

该属性返回或设置上下相邻的两个邮件标签的上边缘之间的垂直距离。Single 类型,可读写。

expression.VerticalPitch

expression   必需。该表达式返回一个 CustomLabel 对象。

说明

如果将该属性更改为对指定邮件标签版面无效的值,则导致出错。

示例

本示例创建一个名为“VisitorPass”的自定义标签并定义其版面。上下相邻的两个邮件标签的上边缘之间的垂直距离为 2.17 英寸。

Set myLabel = Application.MailingLabel.CustomLabels _
    .Add(Name:="VisitorPass", DotMatrix:=False)
With myLabel
    .Height = InchesToPoints(2.17)
    .HorizontalPitch = InchesToPoints(3.5)
    .NumberAcross = 2
    .NumberDown = 4
    .PageSize = wdCustomLabelLetter
    .SideMargin = InchesToPoints(0.75)
    .TopMargin = InchesToPoints(0.17)
    .VerticalPitch = InchesToPoints(2.17)
    .Width = InchesToPoints(3.5)
End With