DeleteParWithCondition Method |
[Top] [Chapter] [Previous] [Next] |
Extensible function to delete paragraphs Declaration void DeleteParWithCondition([In] int Condition); Description 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. Category |