Share via


CustomLabel Object Members

Word Developer Reference

Represents a custom mailing label. The CustomLabel object is a member of the CustomLabels collection. The CustomLabels collection contains all the custom mailing labels listed in the Label Options dialog box.

Methods

  Name Description
Bb257512.methods(en-us,office.12).gif Delete Deletes the specified custom label.

Properties

  Name Description
Bb257512.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb257512.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Bb257512.properties(en-us,office.12).gif DotMatrix 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.
Bb257512.properties(en-us,office.12).gif Height Returns or sets the height of a specified custom mailing label, in points. Read/write Single.
Bb257512.properties(en-us,office.12).gif HorizontalPitch Returns or sets the horizontal distance (in points) between the left edge of one custom mailing label and the left edge of the next mailing label. Read/write Single.
Bb257512.properties(en-us,office.12).gif Index Returns a Long that represents the position of an item in a collection. Read-only.
Bb257512.properties(en-us,office.12).gif Name Returns or sets the name of the specified object. Read/write CustomLabel.
Bb257512.properties(en-us,office.12).gif NumberAcross Returns or sets the number of custom mailing labels across a page. Read/write Long.
Bb257512.properties(en-us,office.12).gif NumberDown Returns or sets the number of custom mailing labels down the length of a page. Read/write Long.
Bb257512.properties(en-us,office.12).gif PageSize Returns or sets the page size for the specified custom mailing label. Read/write WdCustomLabelPageSize.
Bb257512.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified CustomLabel object.
Bb257512.properties(en-us,office.12).gif SideMargin Returns or sets the side margin widths (in points) for the specified custom mailing label. Read/write Single.
Bb257512.properties(en-us,office.12).gif TopMargin Returns or sets the distance (in points) between the top edge of the page and the top boundary of the body text. Read/write Single.
Bb257512.properties(en-us,office.12).gif Valid True if the various properties (for example, Height, Width, and NumberDown) for the specified custom label work together to produce a valid mailing label. Read-only Boolean.
Bb257512.properties(en-us,office.12).gif VerticalPitch Returns or sets the vertical distance between the top of one mailing label and the top of the next mailing label. Read/write Single.
Bb257512.properties(en-us,office.12).gif Width Returns or sets the width of a custom mailing label, in points. Read/write Long.