iTextSharp.text.pdf.PdfCell.GetImages C# (CSharp) Метод

GetImages() публичный метод

public GetImages ( float top, float bottom ) : ArrayList
top float
bottom float
Результат System.Collections.ArrayList
        public ArrayList GetImages(float top, float bottom) {
        
            // if the bottom of the page is higher than the top of the cell: do nothing
            if (this.Top < bottom) {
                return new ArrayList();
            }
            top = Math.Min(this.Top, top);
            // initialisations
            float height;
            ArrayList result = new ArrayList();
            // we loop over the images
            ArrayList remove = new ArrayList();
            foreach (Image image in images) {
                height = image.AbsoluteY;
                // if the currentPosition is higher than the bottom, we add the line to the result
                if (top - height > (bottom + cellpadding)) {
                    image.SetAbsolutePosition(image.AbsoluteX, top - height);
                    result.Add(image);
                    remove.Add(image);
                }
            }
            foreach (Image image in remove) {
                images.Remove(image);
            }
            return result;
        }