Error processing SSI file
LEADTOOLS Image File Support (Leadtools.Codecs assembly)

Show in webframe

Resolution Property (CodecsRasterPdfInfo)








Gets or sets the resolution of the PDF page in dots per inch.
Syntax
public int Resolution {get; set;}
'Declaration
 
Public Property Resolution As Integer
'Usage
 
Dim instance As CodecsRasterPdfInfo
Dim value As Integer
 
instance.Resolution = value
 
value = instance.Resolution
public int Resolution {get; set;}
public int getResolution()
public void setResolution(int value)
            
 <br/>get_Resolution();<br/>set_Resolution(value);<br/>Object.defineProperty('Resolution'); 
public:
property int Resolution {
   int get();
   void set (    int value);
}

Property Value

The resolution of the PDF page in dots per inch.
Remarks

This class supports setting the horizontal and vertical resolutions individually (XResolution and YResolution properties respectively). In most cases, it is desirable to set both to the same value. The Resolution property provides a shortcut to do just that. Setting Resolution to a value, sets both XResolution and YResolution to the same value. Getting the value of Resolution will return the maximum of XResolution and YResolution (usually they have the same value).

This is the same resolution of the RasterImage object to the RasterCodecs.Save method used to create this file if CodecsPdfSaveOptions.UseImageResolution was set to true.

Example
For an example, refer to CodecsRasterPdfInfo.
Requirements

Target Platforms

See Also

Reference

CodecsRasterPdfInfo Structure
CodecsRasterPdfInfo Members

Error processing SSI file