TextBlock Property

Read-only. Returns a TextBlock object that corresponds to the text block of the shape.

Applies to: Shape object, Style object

Syntax

[[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.

Remarks

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.

 

See Also

Character property, HasTxtblockAttr property, Paragraph property, Text property, TextAngle property, TextFlipX property, TextFlipY property, TextGPinX property, TextGPinY property, TextHeight property, TextLPinX property, TextLPinY property TextWidth property, TextBlock object