ShapeRange.InlineTextRange Property
Publisher Developer Reference |
Returns a TextRange object that reflects the position of the inline shape in its containing text range. Read-only.
Syntax
expression.InlineTextRange
expression A variable that represents a ShapeRange object.
Remarks
The returned text range will contain a single object representing the inline shape. An automation error is returned if the shape is not inline.
Example
The following example finds the first shape (a text box) on the first page of the publication, and determines if the text range within the text box contains inline shapes. If inline shapes are found, the InlineTextRange property is used to represent the inline shape after a block of text is inserted.
Visual Basic for Applications |
---|
|
See Also