iTextSharp.text.pdf.PdfContentByte.AddImage C# (CSharp) Метод

AddImage() публичный Метод

public AddImage ( Image image ) : void
image Image
Результат void
        public virtual void AddImage(Image image)
        {
            AddImage(image, false);
        }

Same methods

PdfContentByte::AddImage ( Image image, bool inlineImage ) : void
PdfContentByte::AddImage ( Image image, float a, float b, float c, float d, float e, float f ) : void
PdfContentByte::AddImage ( Image image, float a, float b, float c, float d, float e, float f, bool inlineImage ) : void

Usage Example

Пример #1
1
        protected internal override void Render(PdfContentByte cb, Vector2D offset)
        {
            if (image == null)
                image = Image.GetInstance(filepath);

            image.ScaleAbsolute((float)Size.X.Value(UnitsOfMeasure.Points), (float)Size.Y.Value(UnitsOfMeasure.Points));
            image.SetAbsolutePosition((float)offset.X.Value(UnitsOfMeasure.Points), (float)offset.Y.Value(UnitsOfMeasure.Points));

            cb.AddImage(image);
        }
All Usage Examples Of iTextSharp.text.pdf.PdfContentByte::AddImage
PdfContentByte