Version

GetCommonParagraphSettings Method

Gets the common paragraph settings across paragraphs that intersect the specified span.
Syntax
'Declaration
 
Public Function GetCommonParagraphSettings( _
   ByVal span As DocumentSpan _
) As ParagraphSettings
public ParagraphSettings GetCommonParagraphSettings( 
   DocumentSpan span
)

Parameters

span
Document span. If empty then gets the settings of the paragraph that contains the span's offset.

Return Value

CharacterSettings object that has common settings from the text in the specified span.
Remarks

This method gets common paragraph settings of all the paragraphs that intersect the specified span. As an example, if all intersecting paragraphs have their resolved ParagraphSettings.ParagraphAlignment as Center then the returned ParagraphSettings will have that property set to that value. If one or more paragraphs among the intersecting paragraphs have different alignment setting then the returned settings object will have ParagraphAlignment set to null.

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