# value property

int value

Gets the enumeration value as int. return The value.

## Implementation

    int get value {
        	switch (this) {
          	case PortraitInstruction.none:
            	return 0;
          	case PortraitInstruction.centerFace:
            	return 1;
          	case PortraitInstruction.lookStraight:
            	return 2;
          	case PortraitInstruction.lookAway:
            	return 3;
          	case PortraitInstruction.adjustLightning:
            	return 4;
          	case PortraitInstruction.lowContrast:
            	return 5;
          	case PortraitInstruction.unbalancedColors:
            	return 6;
          	case PortraitInstruction.imageOutOfFocus:
            	return 7;
          	case PortraitInstruction.moveCloser:
            	return 8;
          	case PortraitInstruction.moveBack:
            	return 9;
          	case PortraitInstruction.moveDown:
            	return 10;
          	case PortraitInstruction.moveUp:
            	return 11;
          	case PortraitInstruction.moveRight:
            	return 12;
          	case PortraitInstruction.moveLeft:
            	return 13;
          	case PortraitInstruction.stayStill:
            	return 14;
          	case PortraitInstruction.closeMouth:
            	return 15;
          	case PortraitInstruction.openMouth:
            	return 16;
          	case PortraitInstruction.smile:
            	return 17;
          	case PortraitInstruction.ensureNeutralExpression:
            	return 18;
          	case PortraitInstruction.facePartiallyHidden:
            	return 19;
          	case PortraitInstruction.turnHeadLeft:
            	return 20;
          	case PortraitInstruction.turnHeadRight:
            	return 21;
          	case PortraitInstruction.raiseHead:
            	return 22;
          	case PortraitInstruction.lowerHead:
            	return 23;
          	case PortraitInstruction.rotateHead:
            	return 24;
          	case PortraitInstruction.turnHeadSlightly:
            	return 25;
          	case PortraitInstruction.removeHeadCoverings:
            	return 26;
          	case PortraitInstruction.removeFaceMask:
            	return 27;
          	case PortraitInstruction.removeGlasses:
            	return 28;
          	case PortraitInstruction.removeSunglasses:
            	return 29;
    	}
      	}