←Select platform

SetTrnsChunk Method

Summary

Sets the alpha transform chunk of the PNG file.

Syntax

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Codecs Assembly
Click or drag to resize