コード例 #1
0
            private PdfDictionary GetPropertiesDictionary(PdfObject operand1, ResourceDictionary resources)
            {
                if (operand1.IsDictionary())
                {
                    return((PdfDictionary)operand1);
                }

                PdfName dictionaryName = ((PdfName)operand1);

                return(resources.GetAsDict(dictionaryName));
            }
コード例 #2
0
            private PdfDictionary GetPropertiesDictionary(PdfObject operand1, ResourceDictionary resources){
                if (operand1.IsDictionary())
                    return (PdfDictionary)operand1;

                PdfName dictionaryName = ((PdfName)operand1);
                return resources.GetAsDict(dictionaryName);
            }