4 instantiations of FrameDimension
System.Drawing.Common (4)
System\Drawing\ImageAnimator.cs (1)
298FrameDimension dimension = new(guid);
System\Drawing\Imaging\FrameDimension.cs (3)
9private static readonly FrameDimension s_time = new(new Guid("{6aedbd6d-3fb5-418a-83a6-7f45229dc872}")); 10private static readonly FrameDimension s_resolution = new(new Guid("{84236f7b-3bd3-428f-8dab-4ea1439ca315}")); 11private static readonly FrameDimension s_page = new(new Guid("{7462dc86-6180-4c7e-8e3f-ee7333a7a483}"));
22 references to FrameDimension
System.Drawing (1)
System.Drawing.cs (1)
85[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Imaging.FrameDimension))]
System.Drawing.Common (21)
System\Drawing\Image.cs (4)
662public int GetFrameCount(FrameDimension dimension) 697public int SelectActiveFrame(FrameDimension dimension, int frameIndex) 893Guid timeGuid = FrameDimension.Time.Guid; 898animatedGif = image.GetFrameCount(FrameDimension.Time) > 1;
System\Drawing\ImageAnimator.cs (3)
298FrameDimension dimension = new(guid); 299if (dimension.Equals(FrameDimension.Time)) 301return image.GetFrameCount(FrameDimension.Time) > 1;
System\Drawing\ImageInfo.cs (2)
40_frameCount = image.GetFrameCount(FrameDimension.Time); 195Image.SelectActiveFrame(FrameDimension.Time, _frame);
System\Drawing\Imaging\FrameDimension.cs (12)
9private static readonly FrameDimension s_time = new(new Guid("{6aedbd6d-3fb5-418a-83a6-7f45229dc872}")); 10private static readonly FrameDimension s_resolution = new(new Guid("{84236f7b-3bd3-428f-8dab-4ea1439ca315}")); 11private static readonly FrameDimension s_page = new(new Guid("{7462dc86-6180-4c7e-8e3f-ee7333a7a483}")); 16/// Initializes a new instance of the <see cref='FrameDimension'/> class with the specified GUID. 24/// Specifies a global unique identifier (GUID) that represents this <see cref='FrameDimension'/>. 34public static FrameDimension Time 42public static FrameDimension Resolution 50public static FrameDimension Page => s_page; 53/// Returns a value indicating whether the specified object is an <see cref='FrameDimension'/> equivalent to 54/// this <see cref='FrameDimension'/>. 56public override bool Equals([NotNullWhen(true)] object? o) => o is FrameDimension format && _guid == format._guid; 64/// Converts this <see cref='FrameDimension'/> to a human-readable string.