Description
This class defines the paragraph with its properties.

Namespace: Docs.Word
Assembly: Docs.Word (in Docs.Word.dll) Version: 2.3.0.0 (2.3)

Syntax

         
 C#  Visual Basic  Visual C++ 
[SerializableAttribute]
public class Paragraph : Node, ICopyable<Paragraph>
<SerializableAttribute> _
Public Class Paragraph _
	Inherits Node _
	Implements ICopyable(Of Paragraph)
[SerializableAttribute]
public ref class Paragraph : public Node, 
	ICopyable<Paragraph^>

Members

               
 All Members  Constructors   Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Paragraph()()()()
Constructor of Paragraph.
Paragraph(String)
Constructor of Paragraph with given text.
Paragraph(array<Textrun>[]()[][])
Constructor of Paragraph containing given textrun.
AddFormField(FormFieldType, String)
Add a form field
AddFormField_CheckBox(String, Boolean)
Add a form field - check box
AddFormField_DropList(String, array<String>[]()[][])
Add a form field - drop-down listbox
AddFormField_TextBox(String, Int32, String)
Add a form field - text box for text input
AddLineBreak()()()()
Adds a line-break at the end of this paragraph.
AddLineBreak(Int32)
Adds a line-break at specified position.
AddTabChar()()()()
Adds a tab-character at the end of this paragraph.
AddTabChar(Int32)
Adds a tab-character at specified position.
AddTextrun(String)
Adds a textrun with given text at the end of this paragraph.
AddTextrun(Textrun)
Adds a textrun with given text at the end of this paragraph.
AddTextrun(String, TextStyle)
Adds a textrun with given text at the end of this paragraph.
ApplyStyle(ParagraphStyle)
Apply the certain paragraph style to this paragraph. It doesn't replace current paragraph style with a new style, but rather combine them together.
ApplyStyle(TextStyle)
Apply the certain text style style to this paragraph. It doesn't replace current paragraph style with a new style, but rather combine them together.
ApplyStyle(Document, Style)
Apply the certain style to this paragraph. It doesn't replace current paragraph style with a certain style, but rather combine them together.
ApplyStyle(Document, Int32)
Apply the style with certain index to this paragraph. It doesn't replace current paragraph style with a new style, but rather combine them together.
ApplyStyle(Document, String)
Apply the style with certain name to this paragraph. It doesn't replace current paragraph style with a new style, but rather combine them together.
Copy()()()()
Creates a deep copy of this Paragraph instance.
CreateList(ListStyleEnum, NodeList, Int32)
Creates a list with this paragraph as the first paragraph in list.
GetImages()()()()
Returns all images in this paragraph.
GetRange(Int32, Int32)
Gets the list of textruns beginning at StartIndex and ending at EndIndex.
GetTextrun(Int32, Int32)
Gets the single textrun beginning at StartIndex with given length.
Has_EmbeddedObjects
Defines if this pararagraph contains any embedded objects inside
Has_FormFields
Defines if this pararagraph contains any form fields inside
Has_Hyperlinks
Defines if this pararagraph contains any hyperlinks inside
Has_Images
Defines if this pararagraph contains any images inside
Has_RevisedText
Defines if this paragragh has text formatted as deleted/inserted revision mark text.
InsertImage(Stream)
Inserts the image from stream at the end of paragraph.
InsertImage(String)
Inserts the image from file at the end of paragraph.
InsertImage(Stream, Int32)
Inserts the image from stream at certain position in this paragraph.
InsertImage(String, Int32)
Inserts the image from file at certain position in this paragraph.
InsertInList(NodeList, Int32, Int32)
Inserts this paragraph in the list. The list must contain at least one paragraph. Also, you can't insert paragraph in the beginning of the list. Use CreateList method to make current paragraph the first paragraph in list.
InsertPageBreak()()()()
Inserts a page break after this paragraph.
InsertTextrun(Int32, Textrun)
Inserts a textrun at specified index.
InsertTextrun(Int32, String)
Inserts a textrun with given text at specified index.
InsertTextrun(Int32, String, TextStyle)
Inserts a textrun at specified index.
ResetStyle()()()()
Resets the style properties of this paragraph.
SaveImages(String)
Save all images in this paragraph into files.
SplitTextrun(Int32, Int32)
Splits textrun with given index in two at the given character position
Style
Defines the style of paragraph, i.e. indents, line-spacing, etc.
Subdocument
Defines to which subdocument this node belongs.
(Inherited from Node.)
Text
Text of this paragraph.
Textruns
List of Textruns of this Paragraph, each containing their own text properties.
ToString()()()()
Returns a string representation of this paragraph instance.
Type
Defines the type of node - paragraph or table
(Inherited from Node.)

Inheritance Hierarchy

System..::..Object
  Docs.Word..::..Node
    Docs.Word..::..Paragraph

See Also