Nevron Open Vision Documentation
Nevron.Nov.Text Namespace / NRichTextStyleCollection Class / FindStyleByTypeAndId Method


In This Topic
    FindStyleByTypeAndId Method
    In This Topic
    Returns the rich text style with the given type and style id or null if a rich text style with such type and style id was not found in the collection.
    Syntax
    'Declaration
     
    
    Public Function FindStyleByTypeAndId( _
       ByVal styleType As ENRichTextStyleType, _
       ByVal styleId As System.String _
    ) As NRichTextStyle
    'Usage
     
    
    Dim instance As NRichTextStyleCollection
    Dim styleType As ENRichTextStyleType
    Dim styleId As System.String
    Dim value As NRichTextStyle
     
    value = instance.FindStyleByTypeAndId(styleType, styleId)
    public NRichTextStyle FindStyleByTypeAndId( 
       ENRichTextStyleType styleType,
       System.string styleId
    )

    Parameters

    styleType
    styleId
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also