Xceed Words for .NET v3.0 Documentation
GetParagraphStyleIdFromStyleName Method


Xceed.Document.NET Assembly > Xceed.Document.NET Namespace > Document Class : GetParagraphStyleIdFromStyleName Method
The document to search in.
The style name to search for.
Retrieves the paragraph's style id from the document, using the provided style name.
Syntax
'Declaration
 
Public Shared Function GetParagraphStyleIdFromStyleName( _

   ByVal document As Document, _

   ByVal styleName 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 document,

   string styleName

)

Parameters

document
The document to search in.
styleName
The style name to search for.

Return Value

The style id of the paragraph.
Requirements

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

See Also

Reference

Document Class
Document Members