# Cloud Vision V1p4beta1 API - Class Google::Cloud::Vision::V1p4beta1::ImageAnnotationContext (v0.16.0)

0.16.0 (latest) 0.15.1 0.14.1 0.13.0 0.12.1 0.11.1 0.10.0 0.9.0 0.8.1 0.7.2 0.6.0 0.5.1 0.4.0 0.3.0 0.2.0 0.1.2 Reference documentation and code samples for the Cloud Vision V1p4beta1 API class Google::Cloud::Vision::V1p4beta1::ImageAnnotationContext.

If an image was produced from a file (e.g. a PDF), this message gives
information about the source of that image.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #page_number

    def page_number() -> ::Integer

**Returns**

- (::Integer) --- If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.

### #page_number=

    def page_number=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.
**Returns**

- (::Integer) --- If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.

### #uri

    def uri() -> ::String

**Returns**

- (::String) --- The URI of the file used to produce the image.

### #uri=

    def uri=(value) -> ::String

**Parameter**

- **value** (::String) --- The URI of the file used to produce the image.
**Returns**

- (::String) --- The URI of the file used to produce the image.