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);
            }
        }
예제 #2
0
파일: CTTextTab.cs 프로젝트: polipo/maccore
		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);
		}