C# Класс AdvancedLauncher.Tools.Imaging.TargaHeader

This class holds all of the header properties of a Targa image. This includes the TGA File Header section the ImageID and the Color Map.
Показать файл Открыть проект Примеры использования класса

Защищенные методы

Метод Описание
SetAttributeBits ( byte bAttributeBits ) : void

Sets the AttributeBits property, available only to objects in the same assembly as TargaHeader.

SetColorMapEntrySize ( byte bColorMapEntrySize ) : void

Sets the ColorMapEntrySize property, available only to objects in the same assembly as TargaHeader.

SetColorMapFirstEntryIndex ( short sColorMapFirstEntryIndex ) : void

Sets the ColorMapFirstEntryIndex property, available only to objects in the same assembly as TargaHeader.

SetColorMapLength ( short sColorMapLength ) : void

Sets the ColorMapLength property, available only to objects in the same assembly as TargaHeader.

SetColorMapType ( ColorMapType eColorMapType ) : void

Sets the ColorMapType property, available only to objects in the same assembly as TargaHeader.

SetHeight ( short sHeight ) : void

Sets the Height property, available only to objects in the same assembly as TargaHeader.

SetHorizontalTransferOrder ( HorizontalTransferOrder eHorizontalTransferOrder ) : void

Sets the HorizontalTransferOrder property, available only to objects in the same assembly as TargaHeader.

SetImageIDLength ( byte bImageIDLength ) : void

Sets the ImageIDLength property, available only to objects in the same assembly as TargaHeader.

SetImageIDValue ( string strImageIDValue ) : void

Sets the ImageIDValue property, available only to objects in the same assembly as TargaHeader.

SetImageType ( ImageType eImageType ) : void

Sets the ImageType property, available only to objects in the same assembly as TargaHeader.

SetPixelDepth ( byte bPixelDepth ) : void

Sets the PixelDepth property, available only to objects in the same assembly as TargaHeader.

SetVerticalTransferOrder ( VerticalTransferOrder eVerticalTransferOrder ) : void

Sets the VerticalTransferOrder property, available only to objects in the same assembly as TargaHeader.

SetWidth ( short sWidth ) : void

Sets the Width property, available only to objects in the same assembly as TargaHeader.

SetXOrigin ( short sXOrigin ) : void

Sets the XOrigin property, available only to objects in the same assembly as TargaHeader.

SetYOrigin ( short sYOrigin ) : void

Sets the YOrigin property, available only to objects in the same assembly as TargaHeader.

Описание методов

SetAttributeBits() защищенный Метод

Sets the AttributeBits property, available only to objects in the same assembly as TargaHeader.
protected SetAttributeBits ( byte bAttributeBits ) : void
bAttributeBits byte The Attribute Bits value read from the file.
Результат void

SetColorMapEntrySize() защищенный Метод

Sets the ColorMapEntrySize property, available only to objects in the same assembly as TargaHeader.
protected SetColorMapEntrySize ( byte bColorMapEntrySize ) : void
bColorMapEntrySize byte The Color Map Entry Size value read from the file.
Результат void

SetColorMapFirstEntryIndex() защищенный Метод

Sets the ColorMapFirstEntryIndex property, available only to objects in the same assembly as TargaHeader.
protected SetColorMapFirstEntryIndex ( short sColorMapFirstEntryIndex ) : void
sColorMapFirstEntryIndex short The First Entry Index value read from the file.
Результат void

SetColorMapLength() защищенный Метод

Sets the ColorMapLength property, available only to objects in the same assembly as TargaHeader.
protected SetColorMapLength ( short sColorMapLength ) : void
sColorMapLength short The Color Map Length value read from the file.
Результат void

SetColorMapType() защищенный Метод

Sets the ColorMapType property, available only to objects in the same assembly as TargaHeader.
protected SetColorMapType ( ColorMapType eColorMapType ) : void
eColorMapType ColorMapType One of the ColorMapType enumeration values.
Результат void

SetHeight() защищенный Метод

Sets the Height property, available only to objects in the same assembly as TargaHeader.
protected SetHeight ( short sHeight ) : void
sHeight short The Height value read from the file.
Результат void

SetHorizontalTransferOrder() защищенный Метод

Sets the HorizontalTransferOrder property, available only to objects in the same assembly as TargaHeader.
protected SetHorizontalTransferOrder ( HorizontalTransferOrder eHorizontalTransferOrder ) : void
eHorizontalTransferOrder HorizontalTransferOrder One of the HorizontalTransferOrder enumeration values.
Результат void

SetImageIDLength() защищенный Метод

Sets the ImageIDLength property, available only to objects in the same assembly as TargaHeader.
protected SetImageIDLength ( byte bImageIDLength ) : void
bImageIDLength byte The Image ID Length value read from the file.
Результат void

SetImageIDValue() защищенный Метод

Sets the ImageIDValue property, available only to objects in the same assembly as TargaHeader.
protected SetImageIDValue ( string strImageIDValue ) : void
strImageIDValue string The Image ID value read from the file.
Результат void

SetImageType() защищенный Метод

Sets the ImageType property, available only to objects in the same assembly as TargaHeader.
protected SetImageType ( ImageType eImageType ) : void
eImageType ImageType One of the ImageType enumeration values.
Результат void

SetPixelDepth() защищенный Метод

Sets the PixelDepth property, available only to objects in the same assembly as TargaHeader.
protected SetPixelDepth ( byte bPixelDepth ) : void
bPixelDepth byte The Pixel Depth value read from the file.
Результат void

SetVerticalTransferOrder() защищенный Метод

Sets the VerticalTransferOrder property, available only to objects in the same assembly as TargaHeader.
protected SetVerticalTransferOrder ( VerticalTransferOrder eVerticalTransferOrder ) : void
eVerticalTransferOrder VerticalTransferOrder One of the VerticalTransferOrder enumeration values.
Результат void

SetWidth() защищенный Метод

Sets the Width property, available only to objects in the same assembly as TargaHeader.
protected SetWidth ( short sWidth ) : void
sWidth short The Width value read from the file.
Результат void

SetXOrigin() защищенный Метод

Sets the XOrigin property, available only to objects in the same assembly as TargaHeader.
protected SetXOrigin ( short sXOrigin ) : void
sXOrigin short The X Origin value read from the file.
Результат void

SetYOrigin() защищенный Метод

Sets the YOrigin property, available only to objects in the same assembly as TargaHeader.
protected SetYOrigin ( short sYOrigin ) : void
sYOrigin short The Y Origin value read from the file.
Результат void