←Select platform

DefaultVectorResolution Property

Summary

The default resolution to use when loading vector file formats.

Syntax
C#
C++/CLI
Python
public static int DefaultVectorResolution { get; set; } 
public:  
   static property Int32 DefaultVectorResolution 
   { 
      Int32 get() 
      void set(Int32 value) 
   } 
DefaultVectorResolution # get and set (DocumentFactory) 

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 22.0.2023.4.21
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.