←Select platform

WriteMarker(Stream,int,RasterMarkerMetadata) Method

Summary

Writes a marker to an existing stream.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public void WriteMarker( 
   Stream stream, 
   int pageNumber, 
   RasterMarkerMetadata marker 
) 
Public Overloads Sub WriteMarker( _ 
   ByVal stream As Stream, _ 
   ByVal pageNumber As Integer, _ 
   ByVal marker As Leadtools.RasterMarkerMetadata _ 
)  
public void WriteMarker(  
   Stream stream, 
   int pageNumber, 
   Leadtools.RasterMarkerMetadata marker 
) 
- (BOOL)writeMarker:(nullable LTRasterMarkerMetadata *)marker  
           toStream:(LTLeadStream *)stream  
         pageNumber:(NSInteger)pageNumber  
              error:(NSError **)error 
             
public void writeMarker(ILeadStream stream, int pageNumber, RasterMarkerMetadata marker) 
 function Leadtools.Codecs.RasterCodecs.WriteMarker(Stream,Int32,RasterMarkerMetadata)(  
   stream , 
   pageNumber , 
   marker  
) 
public: 
void WriteMarker(  
   Stream^ stream, 
   int pageNumber, 
   Leadtools.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.

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.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly