ImageGear .NET - Updated
SamplesPerPixel Property (ImGearTIFFMetadata)




ImageGear24.Formats.SimplifiedMetadata Assembly > ImageGear.Formats.TIF Namespace > ImGearTIFFMetadata Class : SamplesPerPixel Property
Gets or sets SamplesPerPixel tag value.
Syntax
'Declaration
 
Public Property SamplesPerPixel As Nullable(Of UShort)
'Usage
 
Dim instance As ImGearTIFFMetadata
Dim value As Nullable(Of UShort)
 
instance.SamplesPerPixel = value
 
value = instance.SamplesPerPixel
public Nullable<ushort> SamplesPerPixel {get; set;}
public: __property Nullable<ushort> get_SamplesPerPixel();
public: __property void set_SamplesPerPixel( 
   Nullable<ushort> value
);
public:
property Nullable<ushort> SamplesPerPixel {
   Nullable<ushort> get();
   void set (    Nullable<ushort> value);
}

Property Value

Nullable (boxed) ushort value.
Remarks
This property accesses the SamplesPerPixel tag. The tag specifies the number of components per 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