Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Graphics Namespace / SoftMask Class / Create Method
The GrapeCity.Documents.Pdf.GcPdfDocument in which the new SoftMask will be used.
The bounds where the soft mask should be applied.

In This Topic
    Create Method
    In This Topic
    Creates a SoftMask object.
    Syntax
    'Declaration
     
    Public Shared Function Create( _
       ByVal doc As GcPdfDocument, _
       ByVal bounds As System.Drawing.RectangleF _
    ) As SoftMask
    public static SoftMask Create( 
       GcPdfDocument doc,
       System.Drawing.RectangleF bounds
    )

    Parameters

    doc
    The GrapeCity.Documents.Pdf.GcPdfDocument in which the new SoftMask will be used.
    bounds
    The bounds where the soft mask should be applied.

    Return Value

    The created SoftMask object.
    See Also