LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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.
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: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also