GetCharset
DicomEncoding.GetCharset method
Get DICOM character set from .NET Encoding.
public virtual string GetCharset(Encoding encoding, bool extended = false)
| Parameter | Type | Description |
|---|---|---|
| encoding | Encoding | .NET Encoding. |
| extended | Boolean | If true, the extended version of the character set is returned. |
Return Value
The String Specific Character Set as defined in DICOM.
Exceptions
| exception | condition |
|---|---|
| ArgumentException | No character set found for the encoding. |
See Also
- class DicomEncoding
- namespace Aspose.Medical.Common.Text
- assembly Aspose.Medical