/// ------------------------------------------------------------------------------------ /// <summary> /// Retrieves a list of publication page sizes which are allowable for the given type of /// publication. /// </summary> /// <param name="publicationName">Name of the publication whose supported sizes are to /// be retrieved. ENHANCE: Ideally, this should use the id instead of the name because it /// is guaranteed to be unique, but currently the Publication doesn't store the id, just /// the Name.</param> /// <param name="icuLocale">The UI icu locale.</param> /// <returns>A list of supported publication page sizes for the given type of /// publication. /// </returns> /// ------------------------------------------------------------------------------------ public static List<PubPageInfo> GetPubPageSizes(string publicationName, string icuLocale) { TePublicationsInit pubInit = new TePublicationsInit(); return pubInit.GetPubPageSizes(pubInit.LoadDoc(), publicationName, icuLocale); }