WmfPlaceableFileHeader::Inch Property

 

Gets or sets the number of twips per inch.

Namespace:   System.Drawing.Imaging
Assembly:  System.Drawing (in System.Drawing.dll)

public:
property short Inch {
	short get();
	void set(short value);
}

Property Value

Type: System::Int16

The number of twips per inch.

Normally, there are 1440 twips per inch; however, this number can be changed to scale the image. A value of 720 indicates that the image is double its normal size, or scaled to a factor of 2:1. A value of 360 indicates a scale of 4:1. Conversely, a value of 2880 indicates that the image is scaled down in size by a factor of two. A value of 1440 indicates a 1:1 scale ratio.

.NET Framework
Available since 1.1
Return to top
Show: