ImageBase
Definition
Namespace:Telerik.Drawing
Assembly:Telerik.Reporting.dll
Syntax:
public abstract class ImageBase : IImage
Inheritance: objectImageBase
Implements:
Constructors
For serialization purposes.
public ImageBase()
Properties
Height
int
TODO: Add documentation.
public abstract int Height { get; }
Implements:
HorizontalResolution
float
TODO: Add documentation.
public abstract float HorizontalResolution { get; }
Implements:
PhysicalDimension
SizeF
public abstract SizeF PhysicalDimension { get; }
Implements:
public abstract PixelFormat PixelFormat { get; }
Implements:
TODO: Add documentation.
public abstract ImageFormat RawFormat { get; }
Implements:
Size
Size
TODO: Add documentation.
public abstract Size Size { get; }
Implements:
SystemInstance
object
Returns the underlying system instance of the image.
public abstract object SystemInstance { get; }
Implements:
VerticalResolution
float
TODO: Add documentation.
public abstract float VerticalResolution { get; }
Implements:
Width
int
TODO: Add documentation.
public abstract int Width { get; }
Implements:
Methods
Clone()
object
public abstract object Clone()
object
protected abstract void Dispose(bool disposing)
GetBytes()
byte[]
public abstract byte[] GetBytes()
byte[]
public abstract int GetPixelFormatSize(PixelFormat pixfmt)
int
Implements:
TODO: Add documentation.
GetRawPixelBytes()
byte[]
Returns raw pixel data suitable for fast hashing. Unlike GetBytes() or stream serialization, this avoids expensive image encoding (PNG/JPEG compression).
public virtual byte[] GetRawPixelBytes()
byte[]
public abstract void Save(Stream stream, IImageCodecInfo encoder, IEncoderParameters encoderParams)
Implements:
public abstract void Save(Stream stream, ImageFormat format)
Implements:
public abstract void Save(string filename, IImageCodecInfo encoder, IEncoderParameters encoderParams)
Implements:
public abstract void Save(string filename, ImageFormat format)
Implements:
public abstract void Save(string filename)
Implements:
public abstract void SaveAdd(IEncoderParameters encoderParams)
Implements:
public abstract void SaveAdd(IImage image, IEncoderParameters encoderParams)
Implements:
Operators
For compatibility with already serialized report definitions in designer.cs files that use System.Drawing.Image.