'Declaration
Public Shared Function GetParagraphStyleIdFromStyleName( _
ByVal As Document, _
ByVal As String _
) As String
'Usage
Dim document As Document
Dim styleName As String
Dim value As String
value = Document.GetParagraphStyleIdFromStyleName(document, styleName)
public static string GetParagraphStyleIdFromStyleName(
Document ,
string
)
Parameters
- document
- The document to search in.
- styleName
- The style name to search for.
Return Value
The style id of the paragraph.
Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, 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