CurrentSection method

Applies to
TParagraph

Declaration
function CurrentSection: 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 GetSectionProps.

Category
Sections


Copyright (C) by WPCUBED GmbH - Munich
http://www.wpcubed.com