Read-only. Returns a TextBlock object that corresponds to the text block of the shape.
Applies to: Shape object, Style object
[[Set] textBlockRet =] object.TextBlock |
The TextBlock property syntax has these parts:
Part | Description |
object | Required. An expression that returns a Shape object. |
textBlockRet | Optional. A TextBlock type variable. |
Shape object:
A text block describes the region where the shape's text is displayed. Text
block settings can be modified even if the shape doesn't contain text.
Style object:
When a style is assigned to a shape, the parameters of the TextBlock property
of the style are set to the TextBlock property of the shape. TextBlock is
only effective when the HasTxtblockAttr property of this style
is True.