PdfImageElement Class
An image a page paints: where, its size in pixels, and a digest of its data.
public sealed class PdfImageElement : IEquatable<PdfImageElement>- Implements
Constructors
| Name | Description |
|---|---|
| PdfImageElement(PdfRectangle, int, int, string) | An image a page paints: where, its size in pixels, and a digest of its data. |
PdfImageElement(PdfRectangle, int, int, string)
PdfImageElement.csAn image a page paints: where, its size in pixels, and a digest of its data.
public PdfImageElement(PdfRectangle Bounds, int Width, int Height, string Digest)Parameters
BoundsPdfRectangle- The bounding box of the image on the page, in default user space.
Widthint- The width of the image, in pixels.
Heightint- The height of the image, in pixels.
Digeststring- The SHA-256 digest of the encoded data of the image, in hexadecimal.
Properties
| Name | Description |
|---|---|
| Bounds | The bounding box of the image on the page, in default user space. |
| Digest | The SHA-256 digest of the encoded data of the image, in hexadecimal. |
| Height | The height of the image, in pixels. |
| Width | The width of the image, in pixels. |
Bounds
PdfImageElement.csThe bounding box of the image on the page, in default user space.
public PdfRectangle Bounds { get; init; }Property value
Digest
PdfImageElement.csHeight
PdfImageElement.csWidth
PdfImageElement.csMethods
| Name | Description |
|---|---|
| Deconstruct(PdfRectangle, int, int, string) | |
| Equals(PdfImageElement?) | |
| Equals(object?) | |
| GetHashCode() | |
| ToString() | Returns a string that represents the current object. |
Deconstruct(PdfRectangle, int, int, string)
public void Deconstruct(out PdfRectangle Bounds, out int Width, out int Height, out string Digest)Parameters
BoundsPdfRectangleWidthintHeightintDigeststring
No documentation is available.
Equals overloads
Equals(PdfImageElement?)
public bool Equals(PdfImageElement? other)No documentation is available.
Equals(object?)
GetHashCode()
ToString()
PdfImageElement.csOperators
| Name | Description |
|---|---|
| operator ==(PdfImageElement?, PdfImageElement?) | |
| operator !=(PdfImageElement?, PdfImageElement?) |
operator ==(PdfImageElement?, PdfImageElement?)
public static bool operator ==(PdfImageElement? left, PdfImageElement? right)No documentation is available.
operator !=(PdfImageElement?, PdfImageElement?)
public static bool operator !=(PdfImageElement? left, PdfImageElement? right)No documentation is available.