XFINIUM.PDF Documentation
Domain Property (PdfAxialShading)



Xfinium.Pdf.Graphics Namespace > PdfAxialShading Class : Domain Property
Gets or sets the shading domain.
Syntax
'Declaration
 
Public Property Domain As Double()
'Usage
 
Dim instance As PdfAxialShading
Dim value() As Double
 
instance.Domain = value
 
value = instance.Domain
public double[] Domain {get; set;}
public:
property array<double>^ Domain {
   array<double>^ get();
   void set (    array<double>^ value);
}

Property Value

An array of two numbers [t0 t1] specifying the limiting values of a parametric variable t.
Exceptions
ExceptionDescription
Thrown when the domain array length is not equal to 2.
Remarks
The variable is considered to vary linearly between these two values as the color gradient varies between the starting and ending points of the axis. The variable t becomes the input argument to the shading function.
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

PdfAxialShading Class
PdfAxialShading Members