[]
        
(Showing Draft Content)

C1.C1Preview.ParagraphObject

ParagraphObject Class

The abstract base class for inline text and images, rendered using a single style, in the Content of a RenderParagraph object.

Inheritance
ParagraphObject
Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
[C1ClassSerialization(true)]
public abstract class ParagraphObject : IStyleOwner, ICloneable, IDocumentLocation

Constructors

Name Description
ParagraphObject()

Initializes a new instance of the ParagraphObject class.

Properties

Name Description
CalculatedValues

For internal use.

Document

Gets the C1PrintDocument containing the current paragraph object.

FirstFragment

Gets the first RenderParagraphFragment of all fragments produced by the containing RenderParagraph that contains the current ParagraphObject.

HasCalculatedValues

For internal use.

Gets or sets the C1Hyperlink associated with the current paragraph object.

IndexInOwner

Gets the index of the current paragraph object in the containing ParagraphObjectCollection.

LastFragment

Gets the last RenderParagraphFragment of all fragments produced by the containing RenderParagraph that contains the current ParagraphObject.

Owner

Gets the ParagraphObjectCollection containing the current paragraph object.

PositionInText

Gets the character 0-based position of the current paragraph object in the text of the paragraph.

Each non-text paragraph object (ParagraphImage) counts as one character.

RenderParagraph

Gets the RenderParagraph containing the current paragraph object.

Style

Gets the Style associated with the current paragraph object.

TextLength

Gets the length of the current paragraph object in characters. For non-text objects (ParagraphImage), this property returns 1.

UserData

Gets or sets arbitrary data associated with the current paragraph object.

Methods

Name Description
AssignFrom(ParagraphObject)

Assigns (copies) properties from another ParagraphObject to the current object.

ClearCalculatedValues(bool)

For internal use.

Clone()

Creates a copy of the current ParagraphObject object.

CreateSame()

Creates instance of object same type as current ParagraphObject object.

GetCalculatedValue(int)

For internal use.

GetCalculatedValue(int, out object)

For internal use.

GetLength()

For internal use.

HasCalculatedValue(int)

For internal use.

ResolveCalculatedValues()

For internal use.

SetCalculatedValue(int, object)

For internal use.

ShouldSerializeStyle()

Indicates whether the Style property should be serialized.

See Also