Portable_Network_Graphics interfaces:

Portable_Network_Graphics - superclass: BitmapIO; super-superclass:MAXWrapper - classID: #(1809998075, 0) 

Constructor

Class instances not creatable by MAXScript 

Aliases:

pngio Portable_Network_Graphics 

Portable_Network_Graphics Interfaces

Interface: ipngio 

Methods:

getType () 
getType enums: {#paletted|#true24|#true48|#gray8|#gray16} 

This method returns the bitmap type.

setType <enum>type 
enums: {#paletted|#true24|#true48|#gray8|#gray16} 

This method allows you to set the bitmap type.

getAlpha () 

This method returns True if the alpha flag is set, otherwise False .

setAlpha <boolean>useAlpha 

This method allows you to set the alpha flag.

useAlpha: True to set the alpha flag, otherwise False .

getInterlaced () 

This method returns True if the interlaced flag is set, otherwise False .

setInterlaced <boolean>Interlaced 

This method allows you to set the interlaced flag.

Interlaced: True to set the interlaced flag, otherwise False .

The methods in this interface can be accessed by specifying the class, interface, and method. For example: portable_network_graphics.ipngio.getType() .

MAXScript will automatically search through a class’ interfaces for a property or method name if the name isn’t found as a class method or property. This allows you to say: portable_network_graphics.getType() .

Providing the fully qualified name of the method results in faster script execution. Providing the fully qualified name is also safer, as at some point in time another interface can be could be specified for the class, and a method or property with the same name could be defined in that interface. Which method or property is used would then be dependent on the order in which the the interfaces were searched for the method or property name.

See Also In the SDK Help file accompanying this product

Class IBitmapIO_Png