←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 LeadSizeD 
@property (nonatomic, assign) LeadSizeD resolution 
public LeadSizeD getResolution() 
public void setResolution(LeadSizeD resolution) 
public: 
property LeadSizeD Resolution { 
   LeadSizeD get(); 
   void set (    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 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Svg Assembly