ImageGear .NET
SampleFormat Property




Gets or sets SampleFormat tag value.
Syntax
'Declaration
 
Public Property SampleFormat As UShort()
'Usage
 
Dim instance As ImGearTIFFMetadata
Dim value() As UShort
 
instance.SampleFormat = value
 
value = instance.SampleFormat
public ushort[] SampleFormat {get; set;}
public: __property ushort[]* get_SampleFormat();
public: __property void set_SampleFormat( 
   ushort[]* value
);
public:
property array<ushort>^ SampleFormat {
   array<ushort>^ get();
   void set (    array<ushort>^ value);
}

Property Value

Unsigned short array.
Remarks
This property accesses the SampleFormat tag. The tag specifies how to interpret each data sample in a pixel.

Get accessor returns the tag value if the tag is present in the metadata tree, or null otherwise.

Set accessor replaces the current tag value if the tag is present in the metadata tree, adds the tag if it was not present, or deletes the tag if a null value is passed.

ImageGear ignores the value of this tag during image saving, and saves a value that corresponds to the saved image DIB's parameters.

See the TIFF 6.0 specification for tag usage details.

See Also

Reference

ImGearTIFFMetadata Class
ImGearTIFFMetadata Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback