Class XmpThumbnailFormatMappingExtensions
Mapping methods for the FacturXDotNet.Models.XMP.XmpThumbnailFormat enumeration.
Assembly: FacturXDotNet.dll
csharp
public static class XmpThumbnailFormatMappingExtensions
Methods
ToXmpThumbnailFormat(XmpThumbnailFormat)
Convert the FacturXDotNet.Models.XMP.XmpThumbnailFormat to its string representation.
csharp
public static string ToXmpThumbnailFormat(this XmpThumbnailFormat conformanceLevel)
Returns
System.String
Parameters
Type | Name |
---|---|
FacturXDotNet.Models.XMP.XmpThumbnailFormat | conformanceLevel |
ToXmpThumbnailFormatOrNull(ReadOnlySpan<char>)
Convert the string to its FacturXDotNet.Models.XMP.XmpThumbnailFormat representation.
csharp
public static XmpThumbnailFormat? ToXmpThumbnailFormatOrNull(this ReadOnlySpan<char> value)
Returns
System.Nullable<FacturXDotNet.Models.XMP.XmpThumbnailFormat>
Parameters
Type | Name |
---|---|
System.ReadOnlySpan<System.Char> | value |
ToXmpThumbnailFormat(ReadOnlySpan<char>)
Convert the string to its FacturXDotNet.Models.XMP.XmpThumbnailFormat representation.
csharp
public static XmpThumbnailFormat ToXmpThumbnailFormat(this ReadOnlySpan<char> value)
Returns
FacturXDotNet.Models.XMP.XmpThumbnailFormat
Parameters
Type | Name |
---|---|
System.ReadOnlySpan<System.Char> | value |
Exceptions
System.ArgumentOutOfRangeException
Thrown when the value is not a valid FacturXDotNet.Models.XMP.XmpThumbnailFormat.