[]
        
(Showing Draft Content)

C1.C1Preview.RenderTextBase

RenderTextBase Class

The abstract base class for render object types representing text (RenderText and RenderParagraph) in a C1PrintDocument.

Inheritance
RenderTextBase
Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
public abstract class RenderTextBase : RenderObject, IStyleOwner, IDocumentLocation

Constructors

Name Description
RenderTextBase()

Initializes a new instance of the RenderTextBase class.

Properties

Name Description
HasTabPositions

Gets a value indicating whether the TabPositions collection has been initialized and contains one or more elements.

HasText

Gets a value indicating whether the current object represents a non-empty text.

TabPositions

Gets the collection of TabPosition objects representing tab stops associated with the current text.

TextLength

Gets the lenght of text represented by the current object. (Do not use this property to test whether a non-empty text is assigned to the current object, use HasText instead.)

Methods

Name Description
AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool)

Assigns (copies) properties from another RenderObject to the current object. Calls the base AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool) method. If source is a RenderTextBase, also copies RenderTextBase-specific properties.

ShouldSerializeTabPositions()

Indicates whether the TabPositions property should be serialized.