 | PdfiumFPDFShadingPattern_GetParams Method |
Get parameters from the specified tiling pattern.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static bool FPDFShadingPattern_GetParams(
IntPtr hPattern,
out int bitsPerCoordinate,
out int bitsPerComponent,
out int bitsPerVal,
bool bGetDecode,
out float[] decode,
bool bGetData,
out byte[] data
)
Public Shared Function FPDFShadingPattern_GetParams (
hPattern As IntPtr,
<OutAttribute> ByRef bitsPerCoordinate As Integer,
<OutAttribute> ByRef bitsPerComponent As Integer,
<OutAttribute> ByRef bitsPerVal As Integer,
bGetDecode As Boolean,
<OutAttribute> ByRef decode As Single(),
bGetData As Boolean,
<OutAttribute> ByRef data As Byte()
) As Boolean
public:
static bool FPDFShadingPattern_GetParams(
IntPtr hPattern,
[OutAttribute] int% bitsPerCoordinate,
[OutAttribute] int% bitsPerComponent,
[OutAttribute] int% bitsPerVal,
bool bGetDecode,
[OutAttribute] array<float>^% decode,
bool bGetData,
[OutAttribute] array<unsigned char>^% data
)
static member FPDFShadingPattern_GetParams :
hPattern : IntPtr *
bitsPerCoordinate : int byref *
bitsPerComponent : int byref *
bitsPerVal : int byref *
bGetDecode : bool *
decode : float32[] byref *
bGetData : bool *
data : byte[] byref -> bool
public static boolean FPDFShadingPattern_GetParams(
IntPtr hPattern,
/** @attribute OutAttribute */ /** @ref */int bitsPerCoordinate,
/** @attribute OutAttribute */ /** @ref */int bitsPerComponent,
/** @attribute OutAttribute */ /** @ref */int bitsPerVal,
boolean bGetDecode,
/** @attribute OutAttribute */ /** @ref */float[] decode,
boolean bGetData,
/** @attribute OutAttribute */ /** @ref */byte[] data
)
Patagames.Pdf.Pdfium.FPDFShadingPattern_GetParams = function(hPattern, bitsPerCoordinate, bitsPerComponent, bitsPerVal, bGetDecode, decode, bGetData, data);
Parameters
- hPattern IntPtr
- Handle to the pattern object.
- bitsPerCoordinate Int32
- The number of bits used to represent each vertex / geometric coordinate.
- bitsPerComponent Int32
- The number of bits used to represent each color component.
- bitsPerVal Int32
- Depends on shading type.
- bGetDecode Boolean
- Flag indicating whether to receive the decode.
- decode Single
- An array of numbers specifying how to map coordinates and color components into the appropriate ranges of values.
- bGetData Boolean
- Flag indicating whether to receive the data.
- data Byte
- An array of bytes that contains a sequence of vertex coordinates and color data that defines the triangle mesh.
Return Value
Booleantrue on success; false otherwise.
See Also