Error processing SSI file
(Leadtools.Controls)

Show in webframe

GetDestinationRectangle(Int32,Int32,LeadRectD,ControlSizeMode,ControlAlignment,ControlAlignment) Method




Source width
Source height
Initial destination rectangle
Controls how the source size is positioned and scaled inside the destination rectangle
Controls how the source size is aligned horizontally inside the destination rectangle
Controls how the source size is aligned vertically inside the destination rectangle
Utility method to adjust the given LeadRectD based on source size, size mode and alignment
Syntax

Parameters

sourceWidth
Source width
sourceHeight
Source height
destinationRect
Initial destination rectangle
sizeMode
Controls how the source size is positioned and scaled inside the destination rectangle
horizontalAlignment
Controls how the source size is aligned horizontally inside the destination rectangle
verticalAlignment
Controls how the source size is aligned vertically inside the destination rectangle

Return Value

The new destination rectangle adjusted based on the source size, size mode and alignment.
Requirements

Target Platforms

See Also

Reference

ImageViewer Class
ImageViewer Members
Overload List

Error processing SSI file