 | PdfiumFPDFColorSpace_GetDefaultValue Method |
Get the initial value of the color component, which depends on the color space.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static float FPDFColorSpace_GetDefaultValue(
IntPtr colorSpace,
int component,
out float min,
out float max
)
Public Shared Function FPDFColorSpace_GetDefaultValue (
colorSpace As IntPtr,
component As Integer,
<OutAttribute> ByRef min As Single,
<OutAttribute> ByRef max As Single
) As Single
public:
static float FPDFColorSpace_GetDefaultValue(
IntPtr colorSpace,
int component,
[OutAttribute] float% min,
[OutAttribute] float% max
)
static member FPDFColorSpace_GetDefaultValue :
colorSpace : IntPtr *
component : int *
min : float32 byref *
max : float32 byref -> float32
public static float FPDFColorSpace_GetDefaultValue(
IntPtr colorSpace,
int component,
/** @attribute OutAttribute */ /** @ref */float min,
/** @attribute OutAttribute */ /** @ref */float max
)
Patagames.Pdf.Pdfium.FPDFColorSpace_GetDefaultValue = function(colorSpace, component, min, max);
Parameters
- colorSpace IntPtr
- Handle to the color space object. Returned by FPDFColorSpace_GetStockCS(ColorTypes), FPDFColorSpace_ColorspaceFromName(String), FPDFColorSpace_GetBaseCS(IntPtr) or FPDFColorSpace_Load(IntPtr, IntPtr, IntPtr) function.
- component Int32
- Color component.
- min Single
- Gets the minimum value of the specified component.
- max Single
- Gets the maximum value of the specified component.
Return Value
SingleThe initial value of the color component.
See Also