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



Gets or sets a value indicating whether to use the image resolution (DPI) in calculating page dimensions when saving a PDF file.

Syntax

Visual Basic (Declaration) 
Public Property UseImageResolution As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CodecsPdfSaveOptions
Dim value As Boolean
 
instance.UseImageResolution = value
 
value = instance.UseImageResolution
C# 
public bool UseImageResolution {get; set;}
C++/CLI 
public:
property bool UseImageResolution {
   bool get();
   void set (    bool value);
}

Property Value

true to use the image resolution (DPI) in calculating page dimensions when saving a PDF file; otherwise, false.

Example

For an example, refer to CodecsPdfOptions.

Remarks

Refer to CodecsRasterPdfInfo for information on how to use RasterCodecs.GetRasterPdfInfo to obtain the resolution of a PDF file saved with RasterCodecs.

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