HPdf.HPdfEncoder.GetHandle C# (CSharp) Method

GetHandle() public method

public GetHandle ( ) : IntPtr
return System.IntPtr
        public IntPtr GetHandle()
        {
            return hencoder;
        }

Usage Example

Esempio n. 1
0
        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);
        }
All Usage Examples Of HPdf.HPdfEncoder::GetHandle