Leadtools.Forms.DocumentWriters Namespace > IDocumentOptions Interface : MaintainAspectRatio Property |
bool MaintainAspectRatio {get; set;}
'Declaration Property MaintainAspectRatio As Boolean
'Usage Dim instance As IDocumentOptions Dim value As Boolean instance.MaintainAspectRatio = value value = instance.MaintainAspectRatio
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.