Namespace TallComponents.PDF.Layout
Class Bitmap
Bitmap
Syntax
public class Bitmap
: Object
,
IDisposable
Constructors
Bitmap(Stream)
Read the bitmap from the stream.
Bitmap(String)
Load bitmap from the file system.
Bitmap(Bitmap)
Copy constructor.
Properties
Int32 ActiveFrame
Get/Set number of the active frame.
Byte[] Bits
Graphic data of the image.
Int32 FrameCount
Count of frames in the bitmap.
Int32 Height
Bitmap height in pixels.
Double HorizontalResolution
Horizontal bitmap resolution.
Int32[] Palette
ARGB color palette.
PixelFormat PixelFormat
Bitmap pixel format.
Int32 Stride
The number of bytes needed for one row of the image.
Double VerticalResolution
Vertical bitmap resolution.
Int32 Width
Bitmap width in pixels.
Methods
Bitmap Clone()
Makes clone of bitmap (all data are clonned).
Bitmap Clone(Int32,Int32,Int32,Int32)
Makes clone of cropped bitmap.
Void CreateFromStream(Stream)
Load bitmap from a stream. Previous bitmap is discarded.
Void Dispose()
Bitmap Load(Stream)
Read bitmap from a stream.
Bitmap Load(String)
Read bitmap from a file.
Void Save(Stream,Bitmap/FileFormat)
Void Save(String)
Stores bitmap to a file.