Version

SetParagraphSettingsProperty<TValue> Method

Sets paragraph settings property or a sub-property on the settings of paragraphs intersecting the specified span.
Syntax
'Declaration
 
Public Sub SetParagraphSettingsProperty(Of TValue)( _
   ByVal span As DocumentSpan, _
   ByVal propertyPath As String, _
   ByVal propertyValue As TValue, _
   ByRef error As String _
) 
public void SetParagraphSettingsProperty<TValue>( 
   DocumentSpan span,
   string propertyPath,
   TValue propertyValue,
   out string error
)

Parameters

span
Paragraphs intersecting this span will be affected.
propertyPath
Name of the property of ParagraphSettings or a '.' concatenated list of property names definining the path to a sub-property of ParagraphSettings.
propertyValue
Value to set. You can specify null to clear the value.
error
This will be set to an error message if an error occurs.

Type Parameters

TValue
Type of the property or the sub-property.
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