public static long GetLongOrDefault(this PdfDictionary dictionary, CosName key) { return(dictionary.GetLongOrDefault(key, -1L)); }
public static long GetLongOrDefault(this PdfDictionary dictionary, string key, long defaultValue) { return(dictionary.GetLongOrDefault(CosName.Create(key), defaultValue)); }