AutoLayout.AddImage

Overloads

AddImage(ImageData, [Optional] Boolean, Single?)Adds an Image to the AutoLayout .
AddImage(Stream, Single, [Optional] Boolean, Single?)Adds an Image to the AutoLayout .
AddImage(String, [Optional] Single, [Optional] Boolean, Single?)Adds an Image to the AutoLayout .

AddImage(ImageData, [Optional] Boolean, Single?)

Adds an Image to the AutoLayout .

public Image AddImage(ImageData imageData, [bool newPage = False], [float? topPadding = null])
Function AddImage(imageData As ImageData, Optional newPage As Boolean = False, Optional topPadding As Single? = null) As Image

Parameters

imageData
ImageData

ImageData object containing the image data.

newPage
Boolean

Adds the element to the next page if set to true. By default it is false.

topPadding
Single?

Top padding for the element.

Returns

Image

Returns an Image object.

Licensing Info

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

AddImage(Stream, Single, [Optional] Boolean, Single?)

Adds an Image to the AutoLayout .

public Image AddImage(Stream stream, float scale, [bool newPage = False], [float? topPadding = null])
Function AddImage(stream As Stream, scale As Single, Optional newPage As Boolean = False, Optional topPadding As Single? = null) As Image

Parameters

stream
Stream

Stream object containing the image data.

scale
Single

The scale to use when rendering the image.

newPage
Boolean

Adds the element to the next page if set to true. By default it is false.

topPadding
Single?

Top padding for the element.

Returns

Image

Returns an Image object.

Licensing Info

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

AddImage(String, [Optional] Single, [Optional] Boolean, Single?)

Adds an Image to the AutoLayout .

public Image AddImage(string filePath, [float scale = 1], [bool newPage = False], [float? topPadding = null])
Function AddImage(filePath As String, Optional scale As Single = 1, Optional newPage As Boolean = False, Optional topPadding As Single? = null) As Image

Parameters

filePath
String

Physical file path of the image.

scale
Single

The scale to use when rendering the image.

newPage
Boolean

Adds the element to the next page if set to true. By default it is false.

topPadding
Single?

Top padding for the element.

Returns

Image

Returns an Image object.

Licensing Info

This method is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

See Also

Image
AutoLayout
ceTe.DynamicPDF.PageElements

In this topic