Show / Hide Table of Contents

Class TiffTagMethods

Tiff tag methods.

Inheritance
System.Object
TiffTagMethods
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: BitMiracle.LibTiff.Classic
Assembly: BitMiracle.LibTiff.NET.dll
Syntax
public class TiffTagMethods

Methods

| Improve this Doc View Source

GetField(Tiff, TiffTag)

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

Declaration
public virtual FieldValue[] GetField(Tiff tif, TiffTag tag)
Parameters
Type Name Description
Tiff tif

An instance of the Tiff class.

TiffTag tag

The tag.

Returns
Type Description
FieldValue[]

The value(s) of a tag in an open TIFF file/stream as array of FieldValue objects or null if there is no such tag set.

See Also
GetField(TiffTag)
| Improve this Doc View Source

PrintDir(Tiff, Stream, TiffPrintFlags)

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

Declaration
public virtual void PrintDir(Tiff tif, Stream stream, TiffPrintFlags flags)
Parameters
Type Name Description
Tiff tif

An instance of the Tiff class.

System.IO.Stream stream

The stream to print to.

TiffPrintFlags flags

The print (formatting) options.

| Improve this Doc View Source

SetField(Tiff, TiffTag, FieldValue[])

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

Declaration
public virtual bool SetField(Tiff tif, TiffTag tag, FieldValue[] value)
Parameters
Type Name Description
Tiff tif

An instance of the Tiff class.

TiffTag tag

The tag.

FieldValue[] value

The tag value(s).

Returns
Type Description
System.Boolean

true if tag value(s) were set successfully; otherwise, false.

See Also
SetField(TiffTag, Object[])
  • Improve this Doc
  • View Source
Back to top Generated by DocFX