Xceed Words for .NET v5.0 Documentation
Xceed.Document.NET Assembly / Xceed.Document.NET Namespace / Paragraph Class / ShadingPattern Method
The ShadingPattern that will be set.
Determines where the ShaddingPattern will be applied in the paragraph: on a specific text or on the whole paragraph. By default, this is set to Text.


In This Topic
    ShadingPattern Method
    In This Topic
    Sets a ShadingPattern for a specific paragraph.
    Syntax
    'Declaration
     
    Public Function ShadingPattern( _
       ByVal shadingPattern As ShadingPattern, _
       Optional ByVal shadingType As ShadingType _
    ) As Paragraph
    'Usage
     
    Dim instance As Paragraph
    Dim shadingPattern As ShadingPattern
    Dim shadingType As ShadingType
    Dim value As Paragraph
     
    value = instance.ShadingPattern(shadingPattern, shadingType)
    public Paragraph ShadingPattern( 
       ShadingPattern shadingPattern,
       ShadingType shadingType
    )

    Parameters

    shadingPattern
    The ShadingPattern that will be set.
    shadingType
    Determines where the ShaddingPattern will be applied in the paragraph: on a specific text or on the whole paragraph. By default, this is set to Text.

    Return Value

    The paragraph with the requested ShaddingPattern applied.
    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