Procedure TParagraph.SwapWithPrevPar

Unit: WPRTEDefs
Class: WPRTEDefs.TParagraph

Description

This procedure quickly exchanges this paragraph with the previous paragraph. It will not do anything if there is no sibling paragraph. The procedure can be used with to duplicate table rows and insert above the current row. WPRichText1.ActiveParagraph.SwapWithPrevPar; WPRichText1.DelayedReformat;