Exemplo n.º 1
0
        public CTTextTab(CTTextAlignment alignment, double location, CTTextTabOptions options)
        {
            handle = CTTextTabCreate (alignment, location,
                    options == null ? IntPtr.Zero : options.Dictionary.Handle);

            if (handle == IntPtr.Zero)
                throw ConstructorError.Unknown (this);
        }
Exemplo n.º 2
0
        public CTTextTab(CTTextAlignment alignment, double location, CTTextTabOptions options)
        {
            handle = CTTextTabCreate(alignment, location,
                                     options == null ? IntPtr.Zero : options.Dictionary.Handle);

            if (handle == IntPtr.Zero)
            {
                throw ConstructorError.Unknown(this);
            }
        }