返回或设置指定自定义邮件标签的边距宽度(以磅为单位)。Single 类型,可读写。
expression.SideMargin
expression 必需。该表达式返回一个 CustomLabel 对象。
如果将本属性更改为对指定邮件标签版式无效的值,则会出现错误。
本示例创建名为“VisitorPass”的自定义标签并定义其版式。每个标签的左右边距为 0.75 英寸。
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