LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
TargetFileSize Property
See Also 
Leadtools.Codecs Namespace > CodecsJpeg2000SaveOptions Class : TargetFileSize Property



Gets or sets the target file size.

Syntax

Visual Basic (Declaration) 
Public Property TargetFileSize As Long
Visual Basic (Usage)Copy Code
Dim instance As CodecsJpeg2000SaveOptions
Dim value As Long
 
instance.TargetFileSize = value
 
value = instance.TargetFileSize
C# 
public long TargetFileSize {get; set;}
C++/CLI 
public:
property int64 TargetFileSize {
   int64 get();
   void set (    int64 value);
}

Property Value

The target file size (in bytes). This value is only used if CodecsJpeg2000CompressionControl.TargetSize is used.

Example

For an example, refer to CodecsJpeg2000Options.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also