/// <summary>
        ///     Sets the identifier mask.
        /// </summary>
        /// <param name="parameters">The parameters.</param>
        /// <param name="mask">The indentifer mask.</param>
        /// <externalUnit/>
        /// <revision revisor="dev13" date="11/19/2009" version="1.1.3.7">
        ///     Added documentation header
        /// </revision>
        public static void SetIdentifierMask(
            BallotEntrySet parameters, int mask)
        {
            int idx = parameters.FindIndex(
                StpParam.PDFLayoutParamId,
                (int)PdfParam.IdentifierMask);

            if (idx < 0)
            {
                parameters.Entries.Add(
                    new object[]
                {
                    1000,
                    PdfParam.IdentifierMask.ToString(),
                    null,
                    mask
                });
            }
            else
            {
                parameters.Entries[idx][Convert.ToInt32(StpParam.ParamValue)] =
                    mask;
            }
        }
        /// <summary>
        ///     Sets the identifier face.
        /// </summary>
        /// <param name="parameters">
        ///     The parameters.
        /// </param>
        /// <param name="side">
        ///     The paper side.
        /// </param>
        /// <externalUnit/>
        /// <revision revisor="dev11" date="3/24/2009" version="1.0.9.0801">
        ///     Member Created
        /// </revision>
        public static void SetIdentifierFace(
            BallotEntrySet parameters, PaperSide side)
        {
            int idx = parameters.FindIndex(
                StpParam.PDFLayoutParamId,
                (int)PdfParam.IdentifierLocation);

            if (idx < 0)
            {
                parameters.Entries.Add(
                    new object[]
                {
                    1000,
                    PdfParam.IdentifierLocation.ToString(),
                    null,
                    side.ToString()
                });
            }
            else
            {
                parameters.Entries[idx][Convert.ToInt32(StpParam.ParamValue)] =
                    side.ToString();
            }
        }