PropertyItem. Type attribute

Source: Internet
Author: User
PropertyItem. Type attribute . NET Framework 2.0Other Versions
  • . NET Framework 4.5
  • . NET Framework 4
  • . NET Framework 3.5
  • . NET Framework 3.0
This topic has not been rated-rating this topic

Gets or sets an integer that defines the data type contained in the Value attribute.

Namespace:System. Drawing. Imaging
Assembly:System. Drawing (in
In system. drawing. dll)

Syntax

C # C ++ VB Replication
public short Type { get; set; }
J # copy
/** @property */public short get_Type ()/** @property */public void set_Type (short value)
JScript Replication
public function get Type () : shortpublic function set Type (value : short)

 

 

Attribute Value

An integer, definedValueThe data type. Remarks

The following table shows integers and their types.

 

Integer

Type

1

SpecifyValueIs a byte array.

2

SpecifyValueIt is a null end ASCII string. If you set the type data member to ASCII type, you should set the Len attribute to include the string length of null termination. For example, the length of the string "Hello" is 6.

3

SpecifyValueIt is an unsigned short (16-bit) integer array.

4

SpecifyValueIt is an unsigned 32-bit long integer array.

5

SpecifyValueThe data member is an unsigned long integer pair array. Each pair represents a score. The first integer is the numerator, and the second integer is the denominator.

6

SpecifyValueIs a byte array that can contain any data type value.

7

SpecifyValueIt is a signed 32-bit long integer array.

10

SpecifyValueIt is an array of signed long integer pairs. Each pair represents a score. The first integer is the numerator, and the second integer is the denominator.

For more information about Property Tag, see "Image Property Tag Constants" (Image Property Tag constant) in the msdn Library on the http://www.microsoft.com/china/msdn/library ).

Platform

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

. NET Framework does not support all versions of each platform. For a list of supported versions, see system requirements.

Version Information

. NET Framework

Supported by the following versions: 2.0, 1.1, and 1.0

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.