Shape.SetCaption method (Publisher)

Sets the caption style for the shape.

Syntax

expression.SetCaption (Style)

expression A variable that represents a Shape object.

Parameters

Name Required/Optional Data type Description
Style Required CaptionStyle Specifies the style of the caption.

Return value

Shape

Remarks

This method works only if Shape.Type = pbPicture.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.