Corel: how to verticaly center paragraph text« Wróć do listy pytań
Paragraph Formating is not visible
|
▲ ▼ |
nobody knows why this option is not visible in most countries (language problems? who knows), this is my workaround. 1. Create macro (alt+f11)
Public Sub centerVerticalAllParagraphs() Dim s As Shape Dim srParagraph As ShapeRange Set srParagraph = ActivePage.Shapes.FindShapes(query:="@type='text:paragraph'") For Each s In srParagraph s.Text.Frame.VerticalAlignment = cdrCenterJustify Next s End Sub 4. Run it |