public static readonly int IptcSeparator
extern const NSInteger LTRasterCommentMetadataTypeIptcSeparator
public static final int IPTC_SEPARATOR = 1;
public:
static readonly int IptcSeparator
IptcSeparator (RasterCommentMetadata)
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);
}
}
import java.io.File;
import java.io.IOException;
import org.junit.*;
import org.junit.runner.JUnitCore;
import org.junit.runner.Result;
import org.junit.runner.notification.Failure;
import static org.junit.Assert.*;
import leadtools.*;
import leadtools.codecs.*;
public void CommentsSizeAndTypeExample() {
System.out.printf("IptcSeparator : %s\n", RasterCommentMetadata.IPTC_SEPARATOR);
System.out.println("Data type sizes:");
System.out.println("------------------");
RasterCommentMetadataDataType[] dataTypes = RasterCommentMetadataDataType.class.getEnumConstants();
for (RasterCommentMetadataDataType dataType : dataTypes) {
int size = RasterCommentMetadata.getDataTypeSize(dataType);
System.out.printf("%s: %d bytes\n", dataType, size);
}
System.out.println("Comment data types:");
System.out.println("------------------");
RasterCommentMetadataType[] types = RasterCommentMetadataType.class.getEnumConstants();
for (RasterCommentMetadataType type : types) {
RasterCommentMetadataDataType dataType = RasterCommentMetadata.getDataType(type);
System.out.printf("%s: %s\n", type, dataType);
}
}
IptcSeparator has an ASCII code of 1 and cannot appear in any comment, so there is not a possibility of confusion about this character is the separator or part of the comment. Do not confuse this with the character '1', whose Ascii code is 49!
For more information, refer to IPTC Comments.
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