TdxFilePreviewImageBasedHandler.KeepAspectRatio Method
In This Article
Indicates if the preview handler keeps the aspect ratio of displayed images.
#Declaration
Delphi
function KeepAspectRatio: Boolean; virtual;
#Returns
Type | Description |
---|---|
Boolean | True if the preview handler keeps the aspect ratio of displayed images; otherwise, False. |
#Remarks
The built-in KeepAspectRatio function always returns True. You can override this function in a TdxFilePreviewImageBasedHandler class descendant and return False to change the aspect ratio of displayed images.
See Also