VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree Namespace / PdfImageResource Class / SoftMask Property
Syntax Remarks Requirements SeeAlso
In This Topic
    SoftMask Property (PdfImageResource)
    In This Topic
    Gets or sets a soft-mask image which must be used as a source of mask shape or mask opacity values in the transparent imaging model.
    Syntax
    'Declaration
    
    <BrowsableAttribute(False)>
    Public Property SoftMask As PdfImageResource
    
    
    [Browsable(False)]
    public PdfImageResource SoftMask { get; set; }
    
    
    [Browsable(False)]
    public: __property PdfImageResource* get_SoftMask();
    public: __property void set_SoftMask(
    PdfImageResource* value
    );
    [Browsable(False)]
    public:
    property PdfImageResource^ SoftMask { PdfImageResource^ get(); void set(PdfImageResource^ value); }
    Remarks

    The alpha source parameter in the graphics state determines whether the mask values are interpreted as shape or opacity. If present, this property overrides the current soft mask in the graphics state, as well as the image's Mask entry, if any. However, the other transparency-related graphics state parameters-blend mode and alpha constant-remain in effect.

    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also