DeleteParWithCondition Method

[Top]  [Chapter]  [Previous]  [Next]

Extensible function to delete paragraphs


void DeleteParWithCondition([In] int Condition);


This method has been reserved for intelligent paragraph deletion.

The following Conditions are supported:


0 : If a paragraph contains empty merge field(s) and no text, it is deleted. You can use it when doing mailmerge to erase empty lines.


New: You can hide a paragraph temporarily if you add the value 256 to the mode id.


If you also add 512 the previously already hidden paragraphs stay hidden.


Use the mode 257 to show all paragraphs again.



[idh_iwpmemo_deleteparwithcondition.htm]    Copyright © 2007 by WPCubed GmbH