Gdk.PixbufSaveFunc Delegate
Specifies the type of the method passed to Pixbuf.SaveToCallback.

Syntax

public delegate bool PixbufSaveFunc (string buf, ulong count)

Parameters

buf
Bytes to be written.
count
Number of bytes in buf.

Returns

true if successful, false if failed.

Remarks

It is called once for each block of bytes that is "written" by Pixbuf.SaveToCallback. If successful it should return true. If an error occurs it should set an error and return false, in which case Pixbuf.SaveToCallback will fail with the same error.

Requirements

Namespace: Gdk
Assembly: gdk-sharp (in gdk-sharp.dll)
Assembly Versions: 2.12.0.0
Since: Gtk# 2.4