Procedure TWPRTFEngineBasis.Assign(Source:TPersistent)

Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFEngineBasis

Parameters

  • Source:TPersistent

Description

This method copies the text and the settings of the SpecialTextAttributes of "Source" directly in this control so the text should look the same, despite different page layout settings. The Source may also be a TWPRichText control.
Example:
WPRichTextLabel1.Assign(WPRichText1);