ImageGear .NET v25.0 - Updated
BitsPerSample Property (ImGearEXIFMetadata)




ImageGear.Formats.SimplifiedMetadata Assembly > ImageGear.Formats.EXIF Namespace > ImGearEXIFMetadata Class : BitsPerSample Property
Gets or sets BitsPerSample Tag value.
Syntax
'Declaration
 
Public Property BitsPerSample As UShort()
'Usage
 
Dim instance As ImGearEXIFMetadata
Dim value() As UShort
 
instance.BitsPerSample = value
 
value = instance.BitsPerSample
public ushort[] BitsPerSample {get; set;}
public: __property ushort[]* get_BitsPerSample();
public: __property void set_BitsPerSample( 
   ushort[][]* value
);
public:
property array<ushort>^ BitsPerSample {
   array<ushort>^ get();
   void set (    array<ushort>^ value);
}

Property Value

Unsigned short array.
Remarks
This property accesses the BitsPerSample tag. The tag specifies the number of bits per component.

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

ImGearEXIFMetadata Class
ImGearEXIFMetadata Members