Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
SetTrnsChunk Method
See Also 
Leadtools.Codecs Namespace > CodecsPngLoadOptions Class : SetTrnsChunk Method




chunk
An array of bytes that represents the alpha transform chunk of the PNG file.
Sets the alpha transform chunk of the PNG file.

Syntax

Visual Basic (Declaration) 
Public Sub SetTrnsChunk( _
   ByVal chunk() As Byte _
) 
Visual Basic (Usage)Copy Code
Dim instance As CodecsPngLoadOptions
Dim chunk() As Byte
 
instance.SetTrnsChunk(chunk)
C# 
public void SetTrnsChunk( 
   byte[] chunk
)
Managed Extensions for C++ 
public: void SetTrnsChunk( 
   byte[] chunk
) 
C++/CLI 
public:
void SetTrnsChunk( 
   array<byte> chunk
) 

Parameters

chunk
An array of bytes that represents the alpha transform chunk of the PNG file.

Example

For an example, refer to CodecsPngOptions.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also