GoDiagram Web Reference
GetBitmapFromCollection(IGoCollection,RectangleF,Single,Boolean) Method

The portion of the rendering, in document coordinates
The scale at which to draw; 1.0 is normal
Whether to call PaintPaperColor for the background
Return a Bitmap displaying all of the visible objects in the given collection that paint within the given bounds.
Syntax
'Declaration
 
Public Overloads Overridable Function GetBitmapFromCollection( _
   ByVal coll As IGoCollection, _
   ByVal bounds As RectangleF, _
   ByVal scale As Single, _
   ByVal paper As Boolean _
) As Bitmap
public virtual Bitmap GetBitmapFromCollection( 
   IGoCollection coll,
   RectangleF bounds,
   float scale,
   bool paper
)

Parameters

coll
bounds
The portion of the rendering, in document coordinates
scale
The scale at which to draw; 1.0 is normal
paper
Whether to call PaintPaperColor for the background

Return Value

A Bitmap
Remarks
This method creates a Bitmap whose size is determined by bounds multiplied by the scale (minimum 1x1), that displays what is painted starting at the rectangle's top-left position in the document. It calls PaintPaperColor to fill in the bitmap and then calls Paint for each object in coll whose CanView property is true.

Unlike the other GetBitmapFromCollection(IGoCollection) methods, this method does not automatically limit the size of the Bitmap based on the bounds and scale values.

Requirements

Target Platforms: Windows 7, 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

Reference

GoView Class
GoView Members
Overload List
GetBitmap Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback