Click or drag to resize

GetBlockCallback Delegate

A function pointer for getting a block of data from specific position.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public delegate bool GetBlockCallback(
	byte[] param,
	uint position,
	byte[] buf,
	uint size
)

Parameters

param  Byte
custom user data
position  UInt32
Position is specified by byte offset from beginning of the file.
buf  Byte
buffer for data allocated inside Pdfium SDK
size  UInt32
buffer size

Return Value

Boolean
should be true if successful, false for error.
Remarks
Required: Yes. Position is specified by byte offset from beginning of the file. It may be possible for FPDFSDK to call this function multiple times for same position.
See Also