Procedure TParagraph.SwapWithNextPar

Unit: WPRTEDefs
Class: WPRTEDefs.TParagraph

Description

This procedure quickly exchanges this paragraph with the next 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.SwapWithNextPar; WPRichText1.DelayedReformat;