Version

GetCommonParagraphListStyle Method

Gets the id of the list style used by paragraphs intersecting the specified span.
Syntax
'Declaration
 
Public Function GetCommonParagraphListStyle( _
   ByVal span As DocumentSpan _
) As String
public string GetCommonParagraphListStyle( 
   DocumentSpan span
)

Parameters

span
Document span object.

Return Value

If all the paragraphs intersecting the specified span all are list paragraphs that utilize the same ListStyle instance, then the id of that list style is returned. If one or more paragraphs are not list paragraphs or utilize different list styles then this method returns 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