JVCL Help:TJvPreviewGraphicItem.DestRect
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvPreviewGraphicItem.DestRect Method
[+] TJvPreviewGraphicItem Methods
[+] TJvPreviewGraphicItem Properties
Search in JVCL Help
Search in all projectsSummary
Calculates the size of the output rectangle based on a reference rectangle and a DC.
Pascal
functionDestRect(RefRect: TRect; DestDC: HDC): TRect;
Parameters
Parameters | Description |
RefRect: TRect | Reference rectangle. |
DestDC: HDC | The DC to render to. |
Return Value
A rectangle that specifies the coordinates of the required destination rectangle of the image.
Description
Call DestRect to calculate the size of the output rectangle needed for the image when it is resized according to the settings of the DC.
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page