Share via


CSSearchableItemAttributeSet.Orientation Property

Definition

Gets or sets a number that represents the orientation of image item data.

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

Property Value

1 indicates portrait mode. 0 indicates landscape mode.

This value can be null.

Attributes

Applies to