/// <summary> /// Returns a string representation of <see cref="PDF417ErrorCorrectionLevel"/> enum value. /// </summary> /// <param name="item">An enum value.</param> /// <returns>A string representation of enum value.</returns> internal static string PDF417ErrorCorrectionLevelToString(PDF417ErrorCorrectionLevel item) { switch (item) { case PDF417ErrorCorrectionLevel.Level0: return("Level0"); case PDF417ErrorCorrectionLevel.Level1: return("Level1"); case PDF417ErrorCorrectionLevel.Level2: return("Level2"); case PDF417ErrorCorrectionLevel.Level3: return("Level3"); case PDF417ErrorCorrectionLevel.Level4: return("Level4"); case PDF417ErrorCorrectionLevel.Level5: return("Level5"); case PDF417ErrorCorrectionLevel.Level6: return("Level6"); case PDF417ErrorCorrectionLevel.Level7: return("Level7"); case PDF417ErrorCorrectionLevel.Level8: return("Level8"); case PDF417ErrorCorrectionLevel.Undefined: return("Undefined"); } return(null); }