Default resolution in dots per inch of this document.
public double DefaultResolution { get; set; }
public:
property double DefaultResolution
{
double get()
void set(double value)
}
public double getDefaultResolution()
public void setDefaultResolution(double value)
DefaultResolution # get and set (DocumentPages)
The default resolution in dots per inch (DPI) of this document. Default value depends on how this document was created. This value cannot be less than 0.
DocumentPage.SetImage can be called to set a new raster image for the page. The page Size and Resolution will be updated from the image parameter passed. If the image passed was null, then the document uses the values of DefaultPageSize and DefaultResolution as the new Size and Resolution respectively.
DefaultResolution is also used by the methods used to convert between document units and pixels, refer to Document Library Coordinate System for more information.
The initial values of DefaultPageSize and DefaultResolution is as follows:
If this LEADDocument was originally created from an existing document file or URL using DocumentFactory.LoadFromFile, DocumentFactory.LoadFromUri, DocumentFactory.LoadFromUriAsync or DocumentFactory.LoadFromStream, then the values are updated based on the original document. The internal parsing code will usually use the size and resolution of the first page found in the document.
If this LEADDocument was created using Create(CreateDocumentOptions) is 0,0 and DefaultResolution is 0) and the user must update them to the desired values after the document is created.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document