 | PdfiumFPDFFunctionSampled_GetBitsPerSample Method |
Get the number of bits used to represent each sample.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static int FPDFFunctionSampled_GetBitsPerSample(
IntPtr function
)
Public Shared Function FPDFFunctionSampled_GetBitsPerSample (
function As IntPtr
) As Integer
public:
static int FPDFFunctionSampled_GetBitsPerSample(
IntPtr function
)
static member FPDFFunctionSampled_GetBitsPerSample :
function : IntPtr -> int
public static int FPDFFunctionSampled_GetBitsPerSample(
IntPtr function
)
Patagames.Pdf.Pdfium.FPDFFunctionSampled_GetBitsPerSample = function(function);
Parameters
- function IntPtr
- The handle to the function.
Return Value
Int32The number of bits per sample or -1 if any error has occurred.
RemarksThe
function is a handle returned by these methods:
FPDFFunction_CreateSampled(Int32, Int32, Single, Single, Int32, Int32, Byte, Single, Single, Int32),
FPDFFunction_OpenHandle(IntPtr) and
FPDFFunctionStitch_GetFunctionAt(IntPtr, Int32)
See Also