XFINIUM.PDF Documentation
SetRgbStrokeColor Method



Xfinium.Pdf.Graphics Namespace > PdfContentStream Class : SetRgbStrokeColor Method
Red level.
Green level
Blue level
Sets the current colorspace for stroke operations to DeviceRGB and sets the current RGB color.
Operator: RG
Syntax
'Declaration
 
Public Sub SetRgbStrokeColor( _
   ByVal r As Double, _
   ByVal g As Double, _
   ByVal b As Double _
) 
'Usage
 
Dim instance As PdfContentStream
Dim r As Double
Dim g As Double
Dim b As Double
 
instance.SetRgbStrokeColor(r, g, b)
public void SetRgbStrokeColor( 
   double r,
   double g,
   double b
)
public:
void SetRgbStrokeColor( 
   double r,
   double g,
   double b
) 

Parameters

r
Red level.
g
Green level
b
Blue level
Remarks
The r, g, b values are in (0, 1) range.
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

PdfContentStream Class
PdfContentStream Members