Leadtools.Forms.DocumentWriters Namespace > DocumentOptions Class : MaintainAspectRatio Property |
public bool MaintainAspectRatio {get; set;}
'Declaration Public Property MaintainAspectRatio As Boolean
'Usage Dim instance As DocumentOptions Dim value As Boolean instance.MaintainAspectRatio = value value = instance.MaintainAspectRatio
public bool MaintainAspectRatio {get; set;}
get_MaintainAspectRatio();
set_MaintainAspectRatio(value);
Object.defineProperty('MaintainAspectRatio');
The aspect ratio of an image is its width divided by its height. If MaintainAspectRatio is set then the DocumentResolution value will be mapped to the higher (X or Y) resolution of the original emf file, while the other resolution will be calculated in a way that preserve the aspect ratio of the original file.