ShapeRange.InlineAlignment Property
Publisher Developer Reference |
Returns or sets a PbInlineAlignment constant that indicates whether an inline shape has left, right, or in-text alignment. Read/write.
Syntax
expression.InlineAlignment
expression A variable that represents a ShapeRange object.
Remarks
The InlineAlignment property value can be one of the PbInlineAlignment constants declared in the Microsoft Office Publisher type library.
An automation error is returned if the shape is not already inline.
Example
The following example moves the second shape on the second page of the publication into the text flow by using the MoveIntoTextFlow method. The InlineAlignment property is then used to align the shape to the right.
Visual Basic for Applications |
---|
|
See Also