'Declaration Protected Sub CalculateAreas( _ ByVal defaultImageWidth As Integer, _ ByVal imagePadding As Margins, _ ByVal textPadding As Margins, _ ByVal cellDisplayRectangle As Rectangle, _ ByRef textArea As Rectangle, _ ByRef imageArea As Rectangle _ )
'Usage Dim instance As CellViewerManager Dim defaultImageWidth As Integer Dim imagePadding As Margins Dim textPadding As Margins Dim cellDisplayRectangle As Rectangle Dim textArea As Rectangle Dim imageArea As Rectangle instance.CalculateAreas(defaultImageWidth, imagePadding, textPadding, cellDisplayRectangle, textArea, imageArea)
protected void CalculateAreas( int defaultImageWidth, Margins imagePadding, Margins textPadding, Rectangle cellDisplayRectangle, out Rectangle textArea, out Rectangle imageArea )
Parameters
- defaultImageWidth
- The default width, in pixels, of the viewer's System.Drawing.Image.
- imagePadding
- The padding of the viewer's System.Drawing.Image.
- textPadding
- The padding of the viewer's text.
- cellDisplayRectangle
- A System.Drawing.Rectangle representing the associated cell's Xceed.Grid.VisualGridElement.DisplayRectangle.
- textArea
- A System.Drawing.Rectangle representing the area where the viewer's text is to be displayed.
- imageArea
- A System.Drawing.Rectangle representing the area where the viewer's image is to be displayed.