←Select platform

Resolution Property

Summary

Gets or sets the resolution (Dots per inch) of the SVG document.

Syntax

C#
VB
Java
Objective-C
C++
public LeadSizeD Resolution { get; set; } 
Public Property Resolution As Leadtools.LeadSizeD 
@property (nonatomic, assign) LeadSizeD resolution 
public LeadSizeD getResolution() 
public void setResolution(LeadSizeD resolution) 
             
public: 
property Leadtools.LeadSizeD Resolution { 
   Leadtools.LeadSizeD get(); 
   void set (    Leadtools.LeadSizeD ); 
} 

Property Value

The resolution (Dots per inch) of the SVG document.

Remarks

The resolution is not part of the SVG standard. It is required by LEADTOOLS to convert pixel bounds to any logical units. Currently, LEADTOOLS saves this value in custom dpiX and dpiY attributes in the root svg element.

This property is set to the calculated resolution (dots per inch) of the document by SvgDocument.CalculateBounds.

Example

For an example, refer to SvgDocument.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Svg Assembly