ImageGear .NET - Updated
MaxSampleValue Property




ImageGear23.Formats.SimplifiedMetadata Assembly > ImageGear.Formats.TIF Namespace > ImGearTIFFMetadata Class : MaxSampleValue Property
Gets or sets MaxSampleValue tag value.
Syntax
'Declaration
 
Public Property MaxSampleValue As UShort()
'Usage
 
Dim instance As ImGearTIFFMetadata
Dim value() As UShort
 
instance.MaxSampleValue = value
 
value = instance.MaxSampleValue
public ushort[] MaxSampleValue {get; set;}
public: __property ushort[]* get_MaxSampleValue();
public: __property void set_MaxSampleValue( 
   ushort[]* value
);
public:
property array<ushort>^ MaxSampleValue {
   array<ushort>^ get();
   void set (    array<ushort>^ value);
}

Property Value

Unsigned short array.
Remarks
This property accesses the MaxSampleValue tag. The tag specifies the maximum component value used in the image.

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