[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.RawImage

RawImage Class

Represents an image natively supported by the PDF format.

Raw images are inserted into PDF as is, without any processing.

Inheritance
RawImage
Implements
Namespace: GrapeCity.Documents.Pdf
Assembly: DS.Documents.Pdf.dll
Syntax
[Obsolete("The RawImage class is obsolete. Use GrapeCity.Documents.Drawing.Image instead.")]
public class RawImage : IImage, IDisposable
<Obsolete("The RawImage class is obsolete. Use GrapeCity.Documents.Drawing.Image instead.")>
Public Class RawImage
    Implements IImage, IDisposable

Properties

Name Description
Data

Gets the image data.

Format

Gets the format of the image.

Height

Gets the height of the image in pixels.

HorizontalResolution

Gets the horizontal resolution of the image.

VerticalResolution

Gets the vertical resolution of the image.

Width

Gets the width of the image in pixels.

Methods

Name Description
FromBytes(byte[], RawImageFormat, int, int, float, float)

Creates a new instance of the RawImage class from a byte array, RawImage supports only JPEG or JPEG2000 image formats.

FromFile(string, RawImageFormat, int, int, float, float)

Creates a new instance of the RawImage class from a disk file, RawImage supports only JPEG or JPEG2000 image formats.

FromStream(Stream, RawImageFormat, int, int, float, float)

Creates a new instance of the RawImage class from a stream, RawImage supports only JPEG or JPEG2000 image formats.