Saves the annotation objects in a container to a TIFF tag.
public RasterTagMetadata SaveToTag(
AnnContainer container,
int pageNumber,
bool saveToWang
)
Public Function SaveToTag( _
ByVal container As AnnContainer, _
ByVal pageNumber As Integer _
ByVal saveToWang As Boolean _
) As RasterTagMetadata
public:
RasterTagMetadata^ SaveToTag(
AnnContainer^ container,
Int32 pageNumber,
bool saveToWang
)
container
The AnnContainer containing the objects to be saved.
pageNumber 1-based index of the page for where the annotations should be saved.
saveToWang
A value that specifies the format used when creating the tag. If true it is a Wang tag, otherwise it is a LEAD tag.
An Leadtools.RasterTagMetadata object that can be saved into a TIFF file.
This method will return a Leadtools.RasterTagMetadata object with Id = AnnotationTiff (the value 80A4 in hexadecimal).
After calling this method, you can save the Leadtools.RasterTagMetadata object returned into an existing TIFF file by calling the >RasterCodecs.WriteTag method or one of the RasterCodecs.WriteTags methods.
This method can return null (Nothing in VB) if you try to save unsupported objects to certain formats (for example, if you try to save an AnnAudioObject to a Wang format).
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