DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / Run Class
Members Example

Run Class
Represents a contiguous fragment of a body content with uniform formatting.

Use GetRange to access the range of objects inside a run.

Object Model
Run Class
Syntax
'Declaration
 
Public Class Run 
   Inherits FormattedContentObject
   Implements GrapeCity.Documents.Word.IBrowsable(Of Run) 
 
Remarks
A run most commonly contains a single Text object, but it can also contain no or more than one texts and/or other objects.
Example
To get a string representing all text in a run:
string text = run.GetRange().Text;
Inheritance Hierarchy

System.Object
   GrapeCity.Documents.Word.ContentObject
      GrapeCity.Documents.Word.FormattedContentObject
         GrapeCity.Documents.Word.Run

See Also