Document Solutions for PDF
DS.Documents.Imaging.Windows Assembly / GrapeCity.Documents.Imaging.Windows Namespace / GcD2DBitmapGraphics Class / CreateTransparencyMask Method

In This Topic
    CreateTransparencyMask Method
    In This Topic
    For internal use. Creates a transparency mask from a GrapeCity.Documents.Drawing.IGcTransparencyGroup, this mask can be specified for this graphics using GrapeCity.Documents.Drawing.GcGraphics.SetTransparencyMask method. Note! If the transparency mask supports System.IDisposable interface it will be automatically disposed after usage.
    Syntax
    'Declaration
     
    Public Overrides Function CreateTransparencyMask( _
       ByVal layer As IGcTransparencyGroup, _
       ByVal maskType As TransparencyMaskType, _
       ByVal maskBounds As System.Drawing.Rectangle _
    ) As System.Object
    public override System.object CreateTransparencyMask( 
       IGcTransparencyGroup layer,
       TransparencyMaskType maskType,
       System.Drawing.Rectangle maskBounds
    )

    Parameters

    layer
    maskType
    maskBounds
    See Also