public HPdfOutline CreateOutline(HPdfOutline parent, string title,
HPdfEncoder encoder)
{
IntPtr hparent;
IntPtr hencoder;
IntPtr houtline;
if (encoder != null)
hencoder = encoder.GetHandle();
else
hencoder = IntPtr.Zero;
if (parent != null)
hparent = parent.GetHandle();
else
hparent = IntPtr.Zero;
houtline = HPDF_CreateOutline(hpdf, hparent, title, hencoder);
return new HPdfOutline(houtline);
}