ImageGear .NET v24.12 - Updated
SubjectLocation Property (ImGearEXIFMetadata)




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

Property Value

Unsigned short] array.
Remarks
This property accesses the SubjectLocation tag. The tag indicates the location of the main subject in the scene. The value of this tag represents the pixel at the center of the main subject relative to the left edge, prior to rotation processing as per the Rotation tag. The first value indicates the X column number and second indicates the Y row number.

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.

See the EXIF 2.2 specification for tag usage details.

See Also

Reference

ImGearEXIFMetadata Class
ImGearEXIFMetadata Members