March 2003
Intermediate to advanced
896 pages
32h 35m
English
FrameDimension
An Image is capable of supporting several
different frames in a single image. This class encapsulates three
different types of frame. You can get an instance of the class
representing a Time-based frame (an animation), a
Resolution-based frame (which allows you to
extract multi-resolution versions of the image data), and a
Page-based frame (to extract several pages from
the image), using the static properties of those names.
The class actually wraps a Guid identifying the
particular frame dimension.
You use this class in the Image.GetFrameCount()
and Image.SelectActiveFrame() methods.
public sealed class FrameDimension { // Public Constructors public FrameDimension(Guid guid); // Public Static Properties public static FrameDimension Page{get; } public static FrameDimension Resolution{get; } public static FrameDimension Time{get; } // Public Instance Properties public Guid Guid{get; } // Public Instance Methods public override bool Equals(object o); // overrides object public override int GetHashCode(); // overrides object public override string ToString(); // overrides object }
System.Drawing.Image.{GetFrameCount(),
SelectActiveFrame()}
Read now
Unlock full access