Sections Category

Description
Sections can be used to seperate the document into different parts. Each part can use a different page size, different header or footers or a different page orientation.
Sections are controlled by objects of the class TWPRTFSectionProps. With TParagraph.StartNewSection a new section is started. If you want to change certain properties of this section (such as page size) add flags to the property sectprops.Select. Then you can change the property, for example set the property Landscape to TRUE. If you want special header for a section "append" a RTFDataBlock and assign the property sectprops.SectionId to rtfdatablock.UsedFroSectionID.
Classes
TWPRTFSectionPropsContains the properties of a section.

Properties
TWPRTFDataBlock.UsedForSectionID
TWPRTFDataCollection.LastSectionID
TWPRTFDataCollection.SectionProperty
TWPRTFDataCollection.SectionPropertyCount
TWPRTFSectionProps.SectionID
TWPRTFSectionProps.Select
TWPVirtPage.SectionID

Methods
TParagraph.CurrentSection
TParagraph.StartNewSection
TWPRTFDataCollection.AddSectionProps
TWPRTFDataCollection.Append
TWPRTFDataCollection.AppendAsSection
TWPRTFDataCollection.GetSectionProps

Types
TWPRTFSectionPropsSelect


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