public void Register(IPdfResource pdfResource) { pdfResource.ResourceId = ++m_CurrentId; m_Resources[m_CurrentId] = pdfResource; }
// methods /** * Adds a <CODE>PdfResource</CODE> to the ResourcesDictionary. * * @param resource a <CODE>PdfResource</CODE> * @return <CODE>true</CODE> */ internal PdfObject Add(IPdfResource resource) { return(put(resource.Key, resource.Value)); }