Function TWPRTFDataCollectionBase.Get(Kind:TWPPagePropertyKind; Range:TWPPagePropertyRange; Name:string) : TWPRTFDataBlock
Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFDataCollectionBase
Parameters
-
Kind:TWPPagePropertyKind Range:TWPPagePropertyRange Name:string
Returns
The type of the result value is TWPRTFDataBlock.
Description
This function returns a reference to text layer, such as header or footer.Example to create footer with numbering:
WPRichText1.HeaderFooter.Get(wpIsFooter, wpraOnAllPages).Clear
.SetProperty(WPAT_Alignment,Integer(paralCenter))
.Append(wpoPageNumber)
.Append('/')
.Append(wpoNumPages);
Overloaded Methods
Function TWPRTFDataCollectionBase.Get(Kind:TWPPagePropertyKind; Range:TWPPagePropertyRange; SectionID:Integer) : TWPRTFDataBlockFunction TWPRTFDataCollectionBase.Get(Kind:TWPPagePropertyKind; Range:TWPPagePropertyRange; Name:string; SctionID:Integer) : TWPRTFDataBlock |