ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Formats.EXIF Namespace / ImGearEXIFMetadata Class / SamplesPerPixel Property




In This Topic
    SamplesPerPixel Property (ImGearEXIFMetadata)
    In This Topic
    Gets or sets SamplesPerPixel Tag value.
    Syntax
    'Declaration
     
    Public Property SamplesPerPixel As Nullable(Of UShort)
    'Usage
     
    Dim instance As ImGearEXIFMetadata
    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