SkillFeatureImageDescriptor(String, String, Boolean, Int32, Int32, Int32, BitmapPixelFormat, BitmapAlphaMode) Constructor

Definition

SkillFeatureImageDescriptor constructor.

public:
 SkillFeatureImageDescriptor(System::String ^ name, System::String ^ description, bool isRequired, int width, int height, int maxDimension, Windows::Graphics::Imaging::BitmapPixelFormat supportedBitmapPixelFormat, Windows::Graphics::Imaging::BitmapAlphaMode supportedBitmapAlphaMode);
public SkillFeatureImageDescriptor (string name, string description, bool isRequired, int width, int height, int maxDimension, Windows.Graphics.Imaging.BitmapPixelFormat supportedBitmapPixelFormat, Windows.Graphics.Imaging.BitmapAlphaMode supportedBitmapAlphaMode);
new Microsoft.AI.Skills.SkillInterfacePreview.SkillFeatureImageDescriptor : string * string * bool * int * int * int * Windows.Graphics.Imaging.BitmapPixelFormat * Windows.Graphics.Imaging.BitmapAlphaMode -> Microsoft.AI.Skills.SkillInterfacePreview.SkillFeatureImageDescriptor
Public Sub New (name As String, description As String, isRequired As Boolean, width As Integer, height As Integer, maxDimension As Integer, supportedBitmapPixelFormat As BitmapPixelFormat, supportedBitmapAlphaMode As BitmapAlphaMode)

Parameters

name
String

The name of this feature.

description
String

The description of this feature.

isRequired
Boolean

Whether or not this feature is required to be bound in an ISkillBinding to proceed to evaluation with the related ISkill.

width
Int32

The required image width (in pixels).

height
Int32

The required image height (in pixels).

maxDimension
Int32

The maximum image width or height allowed (in pixels).

supportedBitmapPixelFormat
Windows.Graphics.Imaging.BitmapPixelFormat

The required image BitmapPixelFormat.

supportedBitmapAlphaMode
Windows.Graphics.Imaging.BitmapAlphaMode

The required image BitmapAlphaMode.

Applies to