Click or drag to resize

AtalaImageCompressorCreateImageShapeAt 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 CreateImageShapeAt(
	GlobalResources gr,
	AtalaImage image,
	double x,
	double y
)

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.
x
Type: SystemDouble
The x coordinate of the resulting PdfImageShape in PDF space.
y
Type: SystemDouble
The y coordinate of the resulting PdfImageShape in PDF space.

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