Read-only. Returns an instance of the Paragraph object that corresponds to the paragraph, assigned by default to the text of every new shape created in the document.
Applies to: Document object
[[Set] paragraphRet =] object.DefParagraph |
The DefParagraph property syntax has these parts:
Part | Description |
object |
Required. An expression that returns a Document object. |
paragraphRet | Optional. A Paragraph type variable. |
The DefParagraph property contains parameters describing a paragraph, which are applied by default to the text of new shapes created in the document. Note, that new shapes don't contain text, that is, they don't contain any instances of the Paragraph object, which describes the paragraph parameters. So, this property will be applied to the shape at the moment the text is assigned to the shape, provided the shape didn't contain any text before. That is, when text is added to the shape, a paragraph, fully identical to the DefParagraph paragraph and containing all text assigned to the shape is added to the paragraph collection of the shape.
To set default parameters to the sequence of characters and text block for the new shapes created in the document, use the DefCharacter and DefTextBlock properties respectively.
See Also |
DefCharacter property, DefTextBlock property, Paragraph object, Shape object |