Beispiel #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);
        }
Beispiel #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);
            }
        }