 | PdfiumFPDFShadingPattern_Create Method |
Create a shading pattern.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static IntPtr FPDFShadingPattern_Create(
IntPtr document,
ShadingTypes shadingType,
IntPtr colorSpace,
bool isShadingObj,
FS_MATRIX parentMatrix = null,
FS_MATRIX formMatrix = null
)
Public Shared Function FPDFShadingPattern_Create (
document As IntPtr,
shadingType As ShadingTypes,
colorSpace As IntPtr,
isShadingObj As Boolean,
Optional parentMatrix As FS_MATRIX = Nothing,
Optional formMatrix As FS_MATRIX = Nothing
) As IntPtr
public:
static IntPtr FPDFShadingPattern_Create(
IntPtr document,
ShadingTypes shadingType,
IntPtr colorSpace,
bool isShadingObj,
FS_MATRIX^ parentMatrix = nullptr,
FS_MATRIX^ formMatrix = nullptr
)
static member FPDFShadingPattern_Create :
document : IntPtr *
shadingType : ShadingTypes *
colorSpace : IntPtr *
isShadingObj : bool *
?parentMatrix : FS_MATRIX *
?formMatrix : FS_MATRIX
(* Defaults:
let _parentMatrix = defaultArg parentMatrix null
let _formMatrix = defaultArg formMatrix null
*)
-> IntPtr
public static IntPtr FPDFShadingPattern_Create(
IntPtr document,
ShadingTypes shadingType,
IntPtr colorSpace,
boolean isShadingObj,
FS_MATRIX parentMatrix = null,
FS_MATRIX formMatrix = null
)
Patagames.Pdf.Pdfium.FPDFShadingPattern_Create = function(document, shadingType, colorSpace, isShadingObj, parentMatrix, formMatrix);
Parameters
- document IntPtr
- The handle to the PDF document.
- shadingType ShadingTypes
- The type of shading pattern.
- colorSpace IntPtr
- Any color space excpet CsPattern.
- isShadingObj Boolean
- True to create a pattern for shadding object only.
- parentMatrix FS_MATRIX (Optional)
- The transformation matrix of the parent content stream.
- formMatrix FS_MATRIX (Optional)
- The pattern matrix. If null, the identity matrix is used.
Return Value
IntPtrHandle to the created shading pattern; IntPtr.Zero if any error has occurred.
See Also