Share via


CSSearchableItemAttributeSet.HasAlphaChannel Property

Definition

Gets or sets a number with Boolean semantics that indicates if the color representation used by an image has an alpha channel.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSNumber? HasAlphaChannel { [Foundation.Export("hasAlphaChannel", ObjCRuntime.ArgumentSemantic.Strong)] get; [Foundation.Export("setHasAlphaChannel:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("hasAlphaChannel", ObjCRuntime.ArgumentSemantic.Strong)>]
[<set: Foundation.Export("setHasAlphaChannel:", ObjCRuntime.ArgumentSemantic.Strong)>]
member this.HasAlphaChannel : Foundation.NSNumber with get, set

Property Value

1 indicates that an alpha channel is present. 0 indicates that an alpha channel is not present.

This value can be null.

Attributes

Applies to