←Select platform

DefaultVectorResolution Property

Summary

The default resolution to use when loading vector file formats.

Syntax
C#
VB
C++
public static int DefaultVectorResolution { get; set; } 
Public Shared Property DefaultVectorResolution() As Integer 
   Get 
   Set 
public:  
   static property Int32 DefaultVectorResolution 
   { 
      Int32 get() 
      void set(Int32 value) 
   } 

Property Value

Resolution to use when loading vector file formats. The default value is 300.

Remarks

Vector file formats (including DWG, DXF, and STL), do not have a resolution. Therefore, this property is always used when using the document factory to load such files.

Unlike DefaultDocumentResolution and DefaultRasterResolution, the default vector resolution is not stored in RasterCodecsTemplate. Instead, DocumentFactory internally uses this value when it detects a vector file and sets it in the RasterCodecs used to load the document as follows:

C#
rasterCodecsObject.Options.Load.Resolution = DocumentFactory.DefaultVectorResolution; 

This resolution value will then be used by the following:

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

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