TextParagraphFormat Property |
Namespace: GemBox.Presentation
This property always returns a new instance of a TextParagraphFormat that points to data associated with this paragraph. This reduces memory footprint since simpler internal structures can be used to hold the data and execution time increase is negligible since Garbage Collector has a very good performance for a short-lived (Generation 0) objects.
When setting a value, instance of a TextParagraphFormat won't actually be stored in this paragraph, but the data to which the instance points to will be copied. This enables easy copying of complex properties from one text element to another.