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



Gets or sets the horizontal resolution of the PDF page in dots per inch.

Syntax

Visual Basic (Declaration) 
Public Property XResolution As Integer
Visual Basic (Usage)Copy Code
Dim instance As CodecsRasterPdfInfo
Dim value As Integer
 
instance.XResolution = value
 
value = instance.XResolution
C# 
public int XResolution {get; set;}
C++/CLI 
public:
property int XResolution {
   int get();
   void set (    int value);
}

Property Value

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

Example

For an example, refer to CodecsRasterPdfInfo.

Remarks

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

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