←Select platform

Format Property

Summary

Gets or sets the load format.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public RasterImageFormat Format { get; set; } 
Public Property Format As Leadtools.RasterImageFormat 
public Leadtools.RasterImageFormat Format {get; set;} 
@property (nonatomic, assign) LTRasterImageFormat format 
public RasterImageFormat getFormat() 
public void setFormat(RasterImageFormat value) 
             
 <br/>get_Format();<br/>set_Format(value);<br/>Object.defineProperty('Format');  

Property Value

A RasterImageFormat enumeration value that specifies the load format.

Remarks

By default, the value of this property is set to false. This means that the RasterCodecs object should try and recognize the format of the image it's trying to load itself. If you know the format of the file, pass it to this member prior to calling RasterCodecs.Load or RasterCodecs.LoadAsync. Doing so will skip the format recognition process and speed up the load operation.

Example

For an example, refer to CodecsOptions.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly