C# Class BitMiracle.LibTiff.Classic.TiffTagMethods

Tiff tag methods.
Show file Open project: Core-Techs/TiffLibrary Class Usage Examples

Public Methods

Method Description
GetField ( Tiff tif, TiffTag tag ) : BitMiracle.LibTiff.Classic.FieldValue[]

Gets the value(s) of a tag in an open TIFF file.

PrintDir ( Tiff tif, Stream stream, TiffPrintFlags flags ) : void

Prints formatted description of the contents of the current directory to the specified stream using specified print (formatting) options.

SetField ( Tiff tif, TiffTag tag, FieldValue value ) : bool

Sets the value(s) of a tag in a TIFF file/stream open for writing.

Private Methods

Method Description
checkInkNamesString ( Tiff tif, int slen, string s ) : int
setExtraSamples ( TiffDirectory td, int &v, FieldValue ap ) : bool

Install extra samples information.

setNString ( string &cpp, string cp, int n ) : void

Method Details

GetField() public method

Gets the value(s) of a tag in an open TIFF file.
public GetField ( Tiff tif, TiffTag tag ) : BitMiracle.LibTiff.Classic.FieldValue[]
tif Tiff An instance of the class.
tag TiffTag The tag.
return BitMiracle.LibTiff.Classic.FieldValue[]

PrintDir() public method

Prints formatted description of the contents of the current directory to the specified stream using specified print (formatting) options.
public PrintDir ( Tiff tif, Stream stream, TiffPrintFlags flags ) : void
tif Tiff An instance of the class.
stream Stream The stream to print to.
flags TiffPrintFlags The print (formatting) options.
return void

SetField() public method

Sets the value(s) of a tag in a TIFF file/stream open for writing.
public SetField ( Tiff tif, TiffTag tag, FieldValue value ) : bool
tif Tiff An instance of the class.
tag TiffTag The tag.
value FieldValue The tag value(s).
return bool