XFINIUM.PDF Documentation
PdfColorMask Constructor(PdfColor,PdfColor)



Xfinium.Pdf.Graphics Namespace > PdfColorMask Class > PdfColorMask Constructor : PdfColorMask Constructor(PdfColor,PdfColor)
The start of the colors range to be masked out.
The start of the colors range to be masked out.
Initializes a new PdfColorMask object.
Syntax
'Declaration
 
Public Function New( _
   ByVal startColor As PdfColor, _
   ByVal endColor As PdfColor _
)
'Usage
 
Dim startColor As PdfColor
Dim endColor As PdfColor
 
Dim instance As New PdfColorMask(startColor, endColor)
public PdfColorMask( 
   PdfColor startColor,
   PdfColor endColor
)
public:
PdfColorMask( 
   PdfColor^ startColor,
   PdfColor^ endColor
)

Parameters

startColor
The start of the colors range to be masked out.
endColor
The start of the colors range to be masked out.
Remarks
Both colors must have the same colorspace that also must match the image's colorspace.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfColorMask Class
PdfColorMask Members
Overload List