public CTTypesetter(NSAttributedString value, CTTypesetterOptions options) { if (value == null) throw ConstructorError.ArgumentNull (this, "value"); handle = CTTypesetterCreateWithAttributedStringAndOptions (value.Handle, options == null ? IntPtr.Zero : options.Dictionary.Handle); if (handle == IntPtr.Zero) throw ConstructorError.Unknown (this); }
public CTTypesetter(NSAttributedString value, CTTypesetterOptions options) { if (value == null) { throw ConstructorError.ArgumentNull(this, "value"); } handle = CTTypesetterCreateWithAttributedStringAndOptions(value.Handle, options == null ? IntPtr.Zero : options.Dictionary.Handle); if (handle == IntPtr.Zero) { throw ConstructorError.Unknown(this); } }