PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / Shadow Structure / Shadow Constructor
A value assigned to the Shadow.Transparency property.
A value assigned to the Shadow.Size property.
An absolute Unit value assigned to the Shadow.Distance property.
A value assigned to the Shadow.Angle property.
A value assigned to the Shadow.Color property.

In This Topic
    Shadow Constructor
    In This Topic
    Initializes a new instance of the Shadow structure, assigning Shadow.Transparency, Shadow.Size, Shadow.Distance and Shadow.Angle values.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal transparency As Single, _
       ByVal size As Single, _
       ByVal distance As Unit, _
       ByVal angle As Single, _
       ByVal color As Color _
    )
    public Shadow( 
       float transparency,
       float size,
       Unit distance,
       float angle,
       Color color
    )

    Parameters

    transparency
    A value assigned to the Shadow.Transparency property.
    size
    A value assigned to the Shadow.Size property.
    distance
    An absolute Unit value assigned to the Shadow.Distance property.
    angle
    A value assigned to the Shadow.Angle property.
    color
    A value assigned to the Shadow.Color property.
    See Also