Version

Create Method (TextRun)

Returns a new instance which is associated with the specified WordDocumentWriter.
Syntax
'Declaration
 
Public Shared Function Create( _
   ByVal writer As WordDocumentWriter, _
   ByVal text As String, _
   ByVal font As Font _
) As TextRun
public static TextRun Create( 
   WordDocumentWriter writer,
   string text,
   Font font
)

Parameters

writer
The associated WordDocumentWriter instance.
text
The text displayed for the hyperlink.
font
A previously created Font instance which determines the font attributes for the text run. Null can be specified, in which case the text run inherits the font attributes as defined at the document level.

Return Value

A new PictureOutlineProperties instance.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also