Skip to content

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
TypeName
FacturXDotNet.Models.XMP.XmpThumbnailFormatconformanceLevel

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
TypeName
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
TypeName
System.ReadOnlySpan<System.Char>value
Exceptions

System.ArgumentOutOfRangeException
Thrown when the value is not a valid FacturXDotNet.Models.XMP.XmpThumbnailFormat.

The tools are open source and released under the MIT License, feel free to use, modify, and share.