Function TParagraph.CurrentSection : TWPRTFSectionProps
Unit: WPRTEDefs
Class: WPRTEDefs.TParagraph
Returns
The type of the result value is TWPRTFSectionProps.
Description
This function searches backwards to find a preceeding paragraph which started a section and returns the TWPRTFSectionProps object. If no section was found a null reference is returned. In this case the default header/footer and default page size (Header) is used for this text. Please note that this function can be quite slow.Also see