Show / Hide Table of Contents

Class CKParagraph

Represents a basic wrapper for a Word.Paragraph object. Inherits from CKRange since a paragraph is fundamentally a range.

Inheritance
object
CKRange
CKParagraph
Implements
IDOMObject
IDisposable
Inherited Members
CKRange._isRefreshing
CKRange.TryFindNext(string, bool, bool, bool)
CKRange.Cache<T>(ref T)
CKRange.Cache<T>(ref T, Func<T>)
CKRange.SetCache<T>(ref T, T, Action<T>)
CKRange.CheckDirtyFor()
CKRange.CollapseToEnd()
CKRange.CollapseToStart()
CKRange.Equals(object)
CKRange.Equals(CKRange)
CKRange.GetHashCode()
CKRange.Dispose(bool)
CKRange.SetBackgroundColor(WdColor)
CKRange.Delete(CKTables)
CKRange.Contains(CKRange)
CKRange.Cells
CKRange.COMRange
CKRange.Text
CKRange.Font
CKRange.PrettyText
CKRange.IsCOMDeferred
CKRange.ScrunchedText
CKRange.Start
CKRange.End
CKRange.IsDirty
CKRange.IsOrphan
CKRange.Parent
CKRange.Document
CKRange.Application
CKRange.Sections
CKRange.Paragraphs
CKRange.Tables
CKRange.FormattedText
CKRange.Snapshot
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
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
CKRange.DoRefreshThings()

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Implements

IDOMObject
IDisposable

Extension Methods

PingService.PingPong<T>(T, string)
PingService.PingPong<T>(T, string, string)
PingService.PingPong<T, TResult>(T, Func<TResult>, string, string)
PingService.Ping<T>(T, string)
PingService.Ping<T>(T, string, string)
PingService.Ping<T>(T, Type[], string)
PingService.Pong<T>(T, string)
PingService.Pong<T>(T, string, string)
PingService.Pong<T>(T, Type, string)
PingService.Pong<T>(T, Type[], string)
PingService.Pong<T, TResult>(T, Func<TResult>, string, string)
In this article
Back to top Generated by DocFX