Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
WriteMarker(Stream,Int32,RasterMarkerMetadata) Method
See Also 
Leadtools.Codecs Namespace > RasterCodecs Class > WriteMarker Method : WriteMarker(Stream,Int32,RasterMarkerMetadata) Method




stream
A Stream containing the output file data.
pageNumber
1-based index of the page at which to write the marker.
marker
A RasterMarkerMetadata object that contains the marker data.
Writes a marker to an existing stream.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub WriteMarker( _
   ByVal stream As Stream, _
   ByVal pageNumber As Integer, _
   ByVal marker As RasterMarkerMetadata _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim stream As Stream
Dim pageNumber As Integer
Dim marker As RasterMarkerMetadata
 
instance.WriteMarker(stream, pageNumber, marker)
C# 
public void WriteMarker( 
   Stream stream,
   int pageNumber,
   RasterMarkerMetadata marker
)
Managed Extensions for C++ 
public: void WriteMarker( 
   Stream* stream,
   int pageNumber,
   RasterMarkerMetadata marker
) 
C++/CLI 
public:
void WriteMarker( 
   Stream^ stream,
   int pageNumber,
   RasterMarkerMetadata marker
) 

Parameters

stream
A Stream containing the output file data.
pageNumber
1-based index of the page at which to write the marker.
marker
A RasterMarkerMetadata object that contains the marker data.

Example

For an example, refer to WriteMarker.

Remarks

For Exif files, this metadata collection will contain all the Exif and GPS comments, stored in APP1. It will also contain the audio information stored in APP2.

When you add or remove tags, the tags array at the end of the file is re-written. When you modify existing tags, the new tag value is added to the file and the IFD is modified as necessary. In all of these cases, there is no image recompression.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also