Table of Contents

Class PdfImage

Namespace
PdfSharp.Pdf.Advanced
Assembly
PdfSharp.dll

Represents an image.

public sealed class PdfImage : PdfXObject, ICloneable, IEnumerable<KeyValuePair<string, PdfItem?>>, IEnumerable
Inheritance
PdfImage
Implements
Inherited Members

Constructors

PdfImage(PdfDocument, XImage)

Initializes a new instance of PdfImage from an XImage.

public PdfImage(PdfDocument document, XImage image)

Parameters

document PdfDocument
image XImage

Properties

Image

Gets the underlying XImage object.

public XImage Image { get; }

Property Value

XImage

Methods

ToString()

Returns 'Image'.

public override string ToString()

Returns

string