CodecsPtokaLoadOptions Class (original) (raw)
Summary
Provides options specifically for loading PTOKA images.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public class CodecsPtokaLoadOptions
@interface LTCodecsPtokaLoadOptions : NSObject
public class CodecsPtokaLoadOptions
public ref class CodecsPtokaLoadOptions
class CodecsPtokaLoadOptions:
Example
using Leadtools;
using Leadtools.Codecs;
using Leadtools.ImageProcessing.Core;
public void CodecsPtokaOptionsExample()
{
RasterCodecs codecs = new RasterCodecs();
string srcFileName = Path.Combine(LEAD_VARS.ImagesDir, "BusinessForm.ica");
// Setting new options.
// CodecsPtokaOptions & CodecsPtokaLoadOptions reference
codecs.Options.Ptoka.Load.Resolution = 500;
RasterImage image = codecs.Load(srcFileName);
// Clean up
image.Dispose();
codecs.Dispose();
}
static class LEAD_VARS
{
public const string ImagesDir = @"C:\LEADTOOLS22\Resources\Images";
}
Leadtools.Codecs Assembly
CompactFile(Stream,Stream,int,int,bool,int,int,bool,int,CodecsSavePageMode,bool,bool) Method
CompactFile(Stream,Stream,int,int,bool,long,int,bool,long,CodecsSavePageMode,bool,bool,bool) Method
CompactFile(string,string,int,int,bool,int,int,bool,int,CodecsSavePageMode,bool,bool) Method
CompactFile(string,string,int,int,bool,long,int,bool,long,CodecsSavePageMode,bool,bool,bool) Method