iTextSharp.text.pdf.parser.PdfContentStreamProcessor.BeginMarkedContentDictionary.GetPropertiesDictionary C# (CSharp) Method

GetPropertiesDictionary() private method

private GetPropertiesDictionary ( PdfObject operand1, ResourceDictionary resources ) : PdfDictionary
operand1 iTextSharp.text.pdf.PdfObject
resources ResourceDictionary
return iTextSharp.text.pdf.PdfDictionary
            private PdfDictionary GetPropertiesDictionary(PdfObject operand1, ResourceDictionary resources)
            {
                if (operand1.IsDictionary())
                    return (PdfDictionary)operand1;

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