←Select platform

SetTrnsChunk Method

Summary

Sets the alpha transform chunk of the PNG file.

Syntax
C#
VB
Objective-C
C++
Java
public void SetTrnsChunk(  
   byte[] chunk 
) 
Public Sub SetTrnsChunk( _ 
   ByVal chunk() As Byte _ 
)  
@property (nonatomic, strong, nullable) NSData *trnsChunk 
public void setTrnsChunk(byte[] chunk) 
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

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly