TextAttachment Property (ActiveX/CAO)

Specifies the text attachment point for labels.

Signature

VBA / VB.NET

object.TextAttachment
object

Type: LabelTemplate

The object or objects this property applies to.

TextAttachment

Type: AcAttachmentPoint enum

A number indicating the attachment point. Specify one of the following constants:

  • acAttachmentPointTopLeft - Top Left
  • acAttachmentPointTopCenter - Top Center
  • acAttachmentPointTopRight - Top Right
  • acAttachmentPointMiddleLeft - Middle Left
  • acAttachmentPointMiddleCenter - Middle Center
  • acAttachmentPointMiddleRight - Middle Right
  • acAttachmentPointBottomLeft - Bottom Left
  • acAttachmentPointBottomCenter - Bottom Center
  • acAttachmentPointBottomRight - Bottom Right