 | Pdfium.FPDFTilingPattern_SetParams Method |
Set parameters to the specified tiling pattern.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static bool FPDFTilingPattern_SetParams(
IntPtr hPattern,
bool? bColored = null,
TilingType? tilingType = null,
FS_RECTF? bbox = null,
float? xStep = null,
float? yStep = null
)
Public Shared Function FPDFTilingPattern_SetParams (
hPattern As IntPtr,
Optional bColored As Boolean? = Nothing,
Optional tilingType As TilingType? = Nothing,
Optional bbox As FS_RECTF? = Nothing,
Optional xStep As Single? = Nothing,
Optional yStep As Single? = Nothing
) As Boolean
public:
static bool FPDFTilingPattern_SetParams(
IntPtr hPattern,
Nullable<bool> bColored = nullptr,
Nullable<TilingType> tilingType = nullptr,
Nullable<FS_RECTF> bbox = nullptr,
Nullable<float> xStep = nullptr,
Nullable<float> yStep = nullptr
)
static member FPDFTilingPattern_SetParams :
hPattern : IntPtr *
?bColored : Nullable<bool> *
?tilingType : Nullable<TilingType> *
?bbox : Nullable<FS_RECTF> *
?xStep : Nullable<float32> *
?yStep : Nullable<float32>
(* Defaults:
let _bColored = defaultArg bColored null
let _tilingType = defaultArg tilingType null
let _bbox = defaultArg bbox null
let _xStep = defaultArg xStep null
let _yStep = defaultArg yStep null
*)
-> bool
public static boolean FPDFTilingPattern_SetParams(
IntPtr hPattern,
boolean? bColored = null,
TilingType? tilingType = null,
FS_RECTF? bbox = null,
float? xStep = null,
float? yStep = null
)
Patagames.Pdf.Pdfium.FPDFTilingPattern_SetParams = function(hPattern, bColored, tilingType, bbox, xStep, yStep);
Parameters
- hPattern IntPtr
- Handle to the pattern object.
- bColored Nullable<Boolean> (Optional)
- Flag indicating whether the given pattern is colored or not.
- tilingType Nullable<TilingType> (Optional)
- A code that controls adjustments to the spacing of tiles relative to the device pixel grid.
- bbox Nullable<FS_RECTF> (Optional)
- A rectangle in the pattern coordinate system giving the coordinates of the left, bottom, right, and top edges, respectively, of the pattern cell’s bounding box. These boundaries are used to clip the pattern cell.
- xStep Nullable<Single> (Optional)
- The desired horizontal spacing between pattern cells, measured in the pattern coordinate system.
- yStep Nullable<Single> (Optional)
- The desired vertical spacing between pattern cells, measured in the pattern coordinate system.
Return Value
Booleantrue on success; false otherwise.
See Also