Version

CreateRunNodeForUnsupportedContent Method

Creates a RunNode which can be used to load unsupported content and conditionally places it in the specified owner based on the UnsupportedContentHandlingMode value.
Syntax
'Declaration
 
Public Shared Function CreateRunNodeForUnsupportedContent( _
   ByVal document As RichTextDocument, _
   ByVal runOwner As NodeBase, _
   ByVal haveCreatedRunInUnsupportedContentRegion As Boolean _
) As RunNode
public static RunNode CreateRunNodeForUnsupportedContent( 
   RichTextDocument document,
   NodeBase runOwner,
   bool haveCreatedRunInUnsupportedContentRegion
)

Parameters

document
The document in which the run will be displayed.
runOwner
The node which should own the run (although depending on the UnsupportedContentHandlingMode, it may not get one).
haveCreatedRunInUnsupportedContentRegion
Indicates whether the current logical block of unsupported content has had a run created in it yet.

Return Value

The run which should own the loaded portions of unsupported content.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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