Click or drag to resize

AtalaImageCompressorCreateImageShape Method

Utility method to create an image shape using the provided image. This method will throw a PDFException if AtalaImageCompressor was not added as a compressor in the passed GlobalResources parameter.

Namespace:  Atalasoft.dotImage.PdfDoc.Bridge
Assembly:  Atalasoft.dotImage.PdfDoc.Bridge (in Atalasoft.dotImage.PdfDoc.Bridge.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public static PdfImageShape CreateImageShape(
	GlobalResources gr,
	AtalaImage image
)

Parameters

gr
Type: Atalasoft.PdfDoc.Generating.ResourceHandlingGlobalResources
The global resources to which the image will be added.
image
Type: Atalasoft.ImagingAtalaImage
The image from which the shape will be made.

Return Value

Type: PdfImageShape
A new PdfImageShape representing the image supplied
Remarks
After calling this method the AtalaImage will no longer be needed and can be disposed.
See Also