Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
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;}
@property (nonatomic, assign) BOOL maintainAspectRatio
public boolean getMaintainAspectRatio() public void setMaintainAspectRatio(boolean maintainAspectRatio)
<br/>get_MaintainAspectRatio();<br/>set_MaintainAspectRatio(value);<br/>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.