Version

CalculateRenderSize Method

Calculates the bounding rectangle size for an image based on its original size after applying some transforms
Syntax
'Declaration
 
Public Shared Function CalculateRenderSize( _
   ByVal imageSize As Size, _
   ByVal cropping As Nullable(Of RectOffsets), _
   ByVal transform As RichTextImageTransform _
) As Size
public static Size CalculateRenderSize( 
   Size imageSize,
   Nullable<RectOffsets> cropping,
   RichTextImageTransform transform
)

Parameters

imageSize
The original size of the image
cropping
The cropping settings
transform
The transform settings
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also