public static RasterCommentMetadataDataType GetDataType(
RasterCommentMetadataType type
)
+ (LTRasterCommentMetadataDataType)dataTypeForType:(LTRasterCommentMetadataType)type
public static RasterCommentMetadataDataType getDataType(RasterCommentMetadataType type)
public:
static RasterCommentMetadataDataType GetDataType(
RasterCommentMetadataType type
)
def GetDataType(self,type):
type
The RasterCommentMetadataType for which to get its RasterCommentMetadataDataType.
The RasterCommentMetadataDataType for the specified RasterCommentMetadataType.
using Leadtools;
using Leadtools.Codecs;
public void CommentsSizeAndTypeExample()
{
Console.WriteLine("IptcSeparator : {0}", RasterCommentMetadata.IptcSeparator);
Console.WriteLine("Data type sizes:");
Console.WriteLine("------------------");
Array dataTypes = Enum.GetValues(typeof(RasterCommentMetadataDataType));
foreach (RasterCommentMetadataDataType dataType in dataTypes)
{
int size = RasterCommentMetadata.GetDataTypeSize(dataType);
Console.WriteLine("{0}: {1} bytes", dataType, size);
}
Console.WriteLine("Comment data types:");
Console.WriteLine("------------------");
Array types = Enum.GetValues(typeof(RasterCommentMetadataType));
foreach (RasterCommentMetadataType type in types)
{
RasterCommentMetadataDataType dataType = RasterCommentMetadata.GetDataType(type);
Console.WriteLine("{0}: {1}", type, dataType);
}
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document