 | AddSegmentCallback Delegate |
Add a section to be downloaded.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic delegate void AddSegmentCallback(
FX_DOWNLOADHINTS pThis,
IntPtr offset,
IntPtr size
)
Public Delegate Sub AddSegmentCallback (
pThis As FX_DOWNLOADHINTS,
offset As IntPtr,
size As IntPtr
)
public delegate void AddSegmentCallback(
FX_DOWNLOADHINTS^ pThis,
IntPtr offset,
IntPtr size
)
type AddSegmentCallback =
delegate of
pThis : FX_DOWNLOADHINTS *
offset : IntPtr *
size : IntPtr -> unit
/** @delegate */
public delegate void AddSegmentCallback(
FX_DOWNLOADHINTS pThis,
IntPtr offset,
IntPtr size
)
function(pThis, offset, size);
Parameters
- pThis FX_DOWNLOADHINTS
- Pointer to the interface structure itself.
- offset IntPtr
- The offset of the hint reported to be downloaded.
- size IntPtr
- The size of the hint reported to be downloaded.
RemarksRequired: Yes. Called by Pdfium SDK to report some downloading hints for download manager.
The position and size of section may be not accurate, part of the section might be already available.
The download manager must deal with that to maximize download efficiency.
See Also