static public method ImageExtensions.AddImage

Brief

Adds an image with specified width and height in pixels and scaling mode from a file to the repeating area, and returns the ImageBuilder.

Declaration
C#
Gehtsoft.PDFFlow.Builder.ImageBuilder  AddImage (this Gehtsoft.PDFFlow.Builder.RepeatingAreaBuilder areaBuilder, string filePath, System.Single width, System.Single height, Gehtsoft.PDFFlow.Models.Enumerations.ScalingMode scaling = None)

Parameters
areaBuilder

This RepeatingAreaBuilder.

filePath

A path to the image file.

width

The image width in pixels.

height

The image height in pixels.

scaling

The image scaling mode.

Declared in ImageExtensions

back