←Select platform

LoadSourceResolution Property

Summary
Gets or sets the source resolution to use when loading annotation containers.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public LeadSizeD LoadSourceResolution { get; set; } 
@property (nonatomic, assign) LeadSizeD loadSourceResolution; 
public LeadSizeD getLoadSourceResolution() 
public void setLoadSourceResolution(LeadSizeD value) 
public:  
   property LeadSizeD^ LoadSourceResolution 
   { 
      LeadSizeD^ get() 
      void set(LeadSizeD^ value) 
   } 
LoadSourceResolution # get and set (AnnCodecs) 

Property Value

The source resolution to use when loading annotations containers. Default value is 0,0.

Remarks

LoadSourceResolution, LoadTargetResolution and LoadUseDpi can be used to map the resolution of the container as follows:

If the values of LoadSourceResolution and LoadTargetResolution are not 0, then this AnnCodecs will call MapResolutions on the loaded AnnContainer before loading any of the children AnnObject's using the following values:

If the value of LoadUseDpi is true, then MapResolutions is called with LoadSourceResolution as the values for sourceDpiX and sourceDpiY and LoadTargetResolution as the values for targetDpiX and targetDpiY.

If the value of LoadUseDpi is false, then MapResolutions is called with LoadSourceResolution as the values for both sourceDpiX and sourceDpiY and targetDpiX and targetDpiY.

This allow the application to modify the resolution of container as it is being loaded.

Requirements

Target Platforms

See Also

Reference

AnnCodecs Class

AnnCodecs Members

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

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