LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

WriteMarker(Stream,Int32,RasterMarkerMetadata) Method






A System.IO.Stream containing the output file data.
1-based index of the page at which to write the marker.
A Leadtools.RasterMarkerMetadata object that contains the marker data.
Writes a marker to an existing stream. .NET support Silverlight support
Syntax
public void WriteMarker( 
   Stream stream,
   int pageNumber,
   RasterMarkerMetadata marker
)
'Declaration
 
Public Overloads Sub WriteMarker( _
   ByVal stream As Stream, _
   ByVal pageNumber As Integer, _
   ByVal marker As RasterMarkerMetadata _
) 
'Usage
 
Dim instance As RasterCodecs
Dim stream As Stream
Dim pageNumber As Integer
Dim marker As RasterMarkerMetadata
 
instance.WriteMarker(stream, pageNumber, marker)
public void WriteMarker( 
   Stream stream,
   int pageNumber,
   RasterMarkerMetadata marker
)
 function Leadtools.Codecs.RasterCodecs.WriteMarker(Stream,Int32,RasterMarkerMetadata)( 
   stream ,
   pageNumber ,
   marker 
)
public:
void WriteMarker( 
   Stream^ stream,
   int pageNumber,
   RasterMarkerMetadata^ marker
) 

Parameters

stream
A System.IO.Stream containing the output file data.
pageNumber
1-based index of the page at which to write the marker.
marker
A Leadtools.RasterMarkerMetadata object that contains the marker data.
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.

Example
For an example, refer to WriteMarker(String,Int32,RasterMarkerMetadata).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterCodecs Class
RasterCodecs Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.