Esempio 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);
        }
Esempio 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);
            }
        }