O2S.Components.PDF4NET.Render Documentation
GetIndexForPixel Method (PDFGray8StripRenderingSurface)



O2S.Components.PDF4NET.Rendering.RenderingSurfaces Namespace > PDFGray8StripRenderingSurface Class : GetIndexForPixel Method
This method supports the internal library infrastructure.
Syntax
'Declaration
 
Public Function GetIndexForPixel( _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal xOrigin As Integer, _
   ByVal yOrigin As Integer, _
   ByVal width As Integer _
) As Integer
'Usage
 
Dim instance As PDFGray8StripRenderingSurface
Dim x As Integer
Dim y As Integer
Dim xOrigin As Integer
Dim yOrigin As Integer
Dim width As Integer
Dim value As Integer
 
value = instance.GetIndexForPixel(x, y, xOrigin, yOrigin, width)
public int GetIndexForPixel( 
   int x,
   int y,
   int xOrigin,
   int yOrigin,
   int width
)
public:
int GetIndexForPixel( 
   int x,
   int y,
   int xOrigin,
   int yOrigin,
   int width
) 

Parameters

x
y
xOrigin
yOrigin
width
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

PDFGray8StripRenderingSurface Class
PDFGray8StripRenderingSurface Members