Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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
)
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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also