Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.6
|
Leadtools.Annotations.Core Namespace > AnnCodecs Class : LoadSourceResolution Property |
public LeadSizeD LoadSourceResolution {get; set;}
'Declaration
Public Property LoadSourceResolution As LeadSizeD
public LeadSizeD LoadSourceResolution {get; set;}
@property (nonatomic) LeadSizeD loadSourceResolution;
public LeadSizeD getLoadSourceResolution() public void setLoadSourceResolution(LeadSizeD value)
get_LoadSourceResolution();
set_LoadSourceResolution(value);
Object.defineProperty('LoadSourceResolution');
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.