4 instantiations of FrameDimension
System.Drawing.Common (4)
System\Drawing\ImageAnimator.cs (1)
298
FrameDimension dimension =
new
(guid);
System\Drawing\Imaging\FrameDimension.cs (3)
9
private static readonly FrameDimension s_time =
new
(new Guid("{6aedbd6d-3fb5-418a-83a6-7f45229dc872}"));
10
private static readonly FrameDimension s_resolution =
new
(new Guid("{84236f7b-3bd3-428f-8dab-4ea1439ca315}"));
11
private 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)
662
public int GetFrameCount(
FrameDimension
dimension)
697
public int SelectActiveFrame(
FrameDimension
dimension, int frameIndex)
893
Guid timeGuid =
FrameDimension
.Time.Guid;
898
animatedGif = image.GetFrameCount(
FrameDimension
.Time) > 1;
System\Drawing\ImageAnimator.cs (3)
298
FrameDimension
dimension = new(guid);
299
if (dimension.Equals(
FrameDimension
.Time))
301
return image.GetFrameCount(
FrameDimension
.Time) > 1;
System\Drawing\ImageInfo.cs (2)
40
_frameCount = image.GetFrameCount(
FrameDimension
.Time);
195
Image.SelectActiveFrame(
FrameDimension
.Time, _frame);
System\Drawing\Imaging\FrameDimension.cs (12)
9
private static readonly
FrameDimension
s_time = new(new Guid("{6aedbd6d-3fb5-418a-83a6-7f45229dc872}"));
10
private static readonly
FrameDimension
s_resolution = new(new Guid("{84236f7b-3bd3-428f-8dab-4ea1439ca315}"));
11
private 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
'/>.
34
public static
FrameDimension
Time
42
public static
FrameDimension
Resolution
50
public 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
'/>.
56
public 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.