Class CKParagraph
Represents a basic wrapper for a Word.Paragraph object. Inherits from CKRange since a paragraph is fundamentally a range.
Inherited Members
Namespace: CoverageKiller2.DOM
Assembly: CoverageKiller2.dll
Syntax
public class CKParagraph : CKRange, IDOMObject, IDisposable
Constructors
CKParagraph(IDOMObject, int)
Initializes a new instance of the CKParagraph class in deferred mode with a known paragraph index.
Declaration
public CKParagraph(IDOMObject parent, int index)
Parameters
Type | Name | Description |
---|---|---|
IDOMObject | parent | The parent DOM object (must be a CKParagraphs). |
int | index | The 1-based paragraph index within the parent Word.Paragraphs collection. |
CKParagraph(Paragraph, IDOMObject, int)
Declaration
public CKParagraph(Paragraph paragraph, IDOMObject parent, int index = -1)
Parameters
Type | Name | Description |
---|---|---|
Paragraph | paragraph | |
IDOMObject | parent | |
int | index |
Properties
COMParagraph
Gets the underlying Word.Paragraph COM object. May be null if deferred and not yet realized.
Declaration
protected Paragraph COMParagraph { get; }
Property Value
Type | Description |
---|---|
Paragraph |
Index
Declaration
public int Index { get; }
Property Value
Type | Description |
---|---|
int |
Methods
DoRefreshThings()
Declaration
protected override void DoRefreshThings()
Overrides
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |