Click or drag to resize

PdfCanvas DrawImage Method (PdfImage, Int32, Single, Single, Single, Single)

Draws an image,recommending monochrome image

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public void DrawImage(
	PdfImage image,
	int compressionQuality,
	float x,
	float y,
	float width,
	float height
)

Parameters

image
Type: Spire.Pdf.Graphics PdfImage
The image.
compressionQuality
Type: System Int32
The image compresson quality.
x
Type: System Single
The x.
y
Type: System Single
The y.
width
Type: System Single
The width.
height
Type: System Single
The height.
See Also