←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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.