←Select platform

Resolution Property

Summary
Gets or sets the resolution (Dots per inch) of the SVG document.
Syntax
C#
VB
Objective-C
C++
Java
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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Svg Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.