ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Formats.TIF Namespace / ImGearTIFFMetadata Class / PageNumber Property




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

    Property Value

    Unsigned short array.
    Remarks
    This property accesses the PageNumber tag. The tag specifies the page number of the page from which this image was scanned. PageNumber[0] is the page number; PageNumber[1] is the total number of pages in the document. If PageNumber[1] is 0, the total number of pages in the document is not available.

    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.

    If the TIFF filter option "IncludePageNumber" is set to true, 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