Class OdfImageNormalizationRequest
Describes a practical image compatibility normalization recommendation. 描述實務影像相容性正規化建議。
public sealed record OdfImageNormalizationRequest : IEquatable<OdfImageNormalizationRequest>
- Inheritance
-
OdfImageNormalizationRequest
- Implements
- Inherited Members
Constructors
OdfImageNormalizationRequest(string, string?, bool, string?, string?)
Describes a practical image compatibility normalization recommendation. 描述實務影像相容性正規化建議。
public OdfImageNormalizationRequest(string PreferredName, string? MediaType, bool IsPortable, string? RecommendedMediaType, string? RecommendedName)
Parameters
PreferredNamestringThe normalized preferred file name. / 正規化後的偏好檔名。
MediaTypestringThe supplied media type. / 傳入的媒體類型。
IsPortableboolWhether the image format is portable across common ODF editors. / 影像格式是否可在常見 ODF 編輯器間可攜。
RecommendedMediaTypestringThe recommended portable media type, if conversion is suggested. / 建議轉換的可攜媒體類型。
RecommendedNamestringThe recommended portable file name, if conversion is suggested. / 建議轉換的可攜檔名。
Properties
IsPortable
Whether the image format is portable across common ODF editors. / 影像格式是否可在常見 ODF 編輯器間可攜。
public bool IsPortable { get; init; }
Property Value
MediaType
The supplied media type. / 傳入的媒體類型。
public string? MediaType { get; init; }
Property Value
PreferredName
The normalized preferred file name. / 正規化後的偏好檔名。
public string PreferredName { get; init; }
Property Value
RecommendedMediaType
The recommended portable media type, if conversion is suggested. / 建議轉換的可攜媒體類型。
public string? RecommendedMediaType { get; init; }
Property Value
RecommendedName
The recommended portable file name, if conversion is suggested. / 建議轉換的可攜檔名。
public string? RecommendedName { get; init; }
Property Value
Methods
Deconstruct(out string, out string?, out bool, out string?, out string?)
public void Deconstruct(out string PreferredName, out string? MediaType, out bool IsPortable, out string? RecommendedMediaType, out string? RecommendedName)
Parameters
PreferredNamestringMediaTypestringIsPortableboolRecommendedMediaTypestringRecommendedNamestring
Equals(OdfImageNormalizationRequest?)
public bool Equals(OdfImageNormalizationRequest? other)
Parameters
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(OdfImageNormalizationRequest?, OdfImageNormalizationRequest?)
public static bool operator ==(OdfImageNormalizationRequest? left, OdfImageNormalizationRequest? right)
Parameters
Returns
operator !=(OdfImageNormalizationRequest?, OdfImageNormalizationRequest?)
public static bool operator !=(OdfImageNormalizationRequest? left, OdfImageNormalizationRequest? right)